赞
踩
拉取代码的时候 Cannot lock the ref ‘ORIG_HEAD’.
这样解决:
I solved it by removing the file .git/ORIG_HEAD then doing the pull again. The .git/ORIG_HEAD file was 0 bytes instead of the git reference it was supposed to contain, so I just got rid of it.
就是通过删除文件.git / ORIG_HEAD解决了这个问题
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。