1.从远程仓库获取最新版本到本地,然后进行分支合并 $ git fetch $ git merge 2.再次进行git add git commit git push指令 ··· $ git add . $ git commit -m “提交了代码” $ git push ···