赞
踩
git上pull代码时,经常遇到:error: cannot lock ref ‘refs/remotes/origin/abc/efg’: ‘refs/remotes/origin/abc/efg/1.2.3/support_ubuntu12’ exists; cannot create ‘refs/remotes/origin/abc/efg’
会导致当前本地的代码更新不了。
执行命令:git update-ref -d refs/remotes/origin/abc/efg/1.2.3/support_ubuntu12
再次git pull成功。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。