DEV Community

baris
baris

Posted on

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

Lifesaver

My team and I ran into this error, unable to update local ref, when doing a pull in SourceTree.

Update 2020: Per @edward Yang's answer below, @bryan's comment on this answer, and this question/answer you may need to run both git gc --prune=now and git remote prune origin

Top comments (0)