Skip to content

Instantly share code, notes, and snippets.

@adityadees
Created May 16, 2021 17:06
Show Gist options
  • Save adityadees/4c3a56fbe8c7d8796a1af556984ac9d0 to your computer and use it in GitHub Desktop.
Save adityadees/4c3a56fbe8c7d8796a1af556984ac9d0 to your computer and use it in GitHub Desktop.
git pull fails “unable to resolve reference” “unable to update local ref”
rm .git/refs/remotes/origin/master
git fetch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment