git 之 unable to update local ref解决方案
2015-09-22 09:28 Dream001 阅读(890) 评论(0) 收藏 举报error: Couldn't set refs/remotes/origin/master
From /var/lib/git/xxx/project
! a0f80ea..49177a3 master -> origin/master (unable to update local ref)
and when i do "git pull origin master" i get:
error: Couldn't set ORIG_HEAD fatal: Cannot update the ref 'ORIG_HEAD'.
解决方案:
git gc --prune=now
浙公网安备 33010602011771号