我只有分支主管,每次尝试“ git pull”时我都会收到此错误:
error: Couldn't set refs/remotes/origin/master
From /var/lib/git/xxx/project
! a0f80ea..49177a3 master -> origin/master (unable to update local ref)
当我做“ git pull origin master”时,我得到:
error: Couldn't set ORIG_HEAD
fatal: Cannot update the ref 'ORIG_HEAD'.
我一直在搜索,但找不到原因