Git 远程开发一般流程
开发全程在 develop 分支,在此分支调试完毕之后合并入 master 分支
-
初始化,保证两个分支均和远程保持一致
git checkout master git pull git checkout develop git pull -
开发调试完毕
git add . git commit -m 'msg' git push -
同步 master
git checkout master git pull -
将 develop 合并到 master
git merge develop git push -
最后保证分支回到 develop
git checkout develop
浙公网安备 33010602011771号