Git使用--更新GitHub代码至本地Idea

目的:更新GitHub代码至本地Idea

方法:

右键项目名--Git--Repository--Pull

选择最新的GitHub版本pull,完成

-------------------------------------------------


2017.11.26更新以下:

目的:上传本地Idea至GitHub

方法:

新建GitHub项目

终端:cd 项目地址,Git remote add origin “GitHub项目地址”

VCS--Import into Version Control--Create Git Repository

右键项目名--Git--1、Add;2、Commit;3、Push


P.S.  git config --list 可看到当前用户配置


猜你喜欢

转载自blog.csdn.net/huangyixian2/article/details/78336255
今日推荐