1.git checkout 自己的分支 (首先切换到自己的分支) 2.git pull 3.git checkout master. (切换到主分支) 4.git merge 自己的分支 5.git push