当前位置:   article > 正文

git强行换分支 gitpull问题解决

git强行换分支 gitpull问题解决

强行:

git fetch --all
git reset --hard origin/master
出现的问题:

You asked me to pull without telling me which branch you

want to merge with, and 'branch.sms_fix.merge' in

your configuration file does not tell me, either. Please

specify which branch you want to use on the command line and

try again (e.g. 'git pull <repository> <refspec>').

See git-pull(1) for details


解决:

删除该分支 重新拉

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/610601
推荐阅读
相关标签
  

闽ICP备14008679号