赞
踩
git抛错:Your branch and 'xxx' have diverged,and have xx and xx different commits each, respectively.
$ git status
On branch 5.6
Your branch and 'origin/xxx' have diverged,
and have 6 and 17 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)nothing to commit, working tree clean
如图:
解决方法:
git reset --hard origin/xxx
接着:
git pull origin
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。