git checkout 分支领先问题 报错信息 $ git checkout master Switched to branch 'master' Your branch is ahead of 'origin/master' by 1 commit. (use "git push" to publish your local commits) 解决方案 git push git checkout master