Created
November 15, 2019 10:25
-
-
Save christianb/e548817dd30311c8644ff171e0ac929f to your computer and use it in GitHub Desktop.
Git: unable to resolve reference
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When you can't checkout a remote branch with Git and getting this error: | |
“unable to resolve reference” you should do the following: | |
Try cleaning-up your local repository with: | |
$ git gc --prune=now | |
$ git remote prune origin | |
See: https://stackoverflow.com/questions/2998832/git-pull-fails-unable-to-resolve-reference-unable-to-update-local-ref |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment