1、打开项目,在空白处右击,出现git pull,git push,git sync,git commit,及TortoiseGit,还有git操作命令git gui here 和git bash here
2、git pull不需修改设置,使用默认设置,将代码更新
3、git commit,这个时候 git commit --> branch应该是分支的名字
4、git commit代码后,git push代码到远程
5、TortoiseGit右击,选择switch/checkout切换到master主线
6、切换到master分支
7、右击tortoiseGit选择merge
8、将分支代码merge到master主线上
9、最后一步,git push将master主线上的代码push到origin master上