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

If you get an “unable to update local ref” error

git gc --prune=now

This removes any duplicate reference objects which should fix the issue.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>