一、切换到主分支 git checkout master 二、主分支合并其他分支 git merge yf_dev 三、切换到其他分支 git checkout yf_dev 四、推送到远程分支 git push -u origin yf_dev