Git error on git pull (unable to update local ref)

I only have branch master and im getting this error every time i try to “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)

and when i do “git pull origin master” i get:

error: Couldn't set ORIG_HEAD
fatal: Cannot update the ref 'ORIG_HEAD'.

i have been searching but cant find why

27 Answers
27

Leave a Comment