一、查看分支
git branch
二、查看分支状态
git status
说明:以上说明没有新的修改,无需再提交代码。如有修改的需要操作以下命令
git add .
git commit -m “修改说明”
三、切换至master分支
git checkout master
四、拉取master分支代码
git pull 或者 git pull origin master
五、切换至我的分支
git checkout test_CG_mysql
六、合并master分支的代码到我的分支
git merge master
七、检查推送代码
git status
git push 或者 git push origin test_CG_mysql