Cannot pull, git cannot resolve reference ORIG_HEAD
拉取代码的时候 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解决了这个问题