Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (19k points)

When I run a simple git pull command, I get this error:

unable to resolve reference refs/remotes/origin

1 Answer

0 votes
by (33.1k points)

This happens when there are unnecessary files in your system, so clean-up your local repository with the following commands:

$ git gc --prune=now

$ git remote prune origin

Hope this answer helps you!

Browse Categories