Back

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

Using git 1.6.4.2, when I do a git pull I get this error:

error: unable to resolve reference refs/remotes/origin/LT558-optimize-sql: No such file or directory

From git+ssh://remoteserver/~/misk5

 ! [new branch]      LT558-optimize-sql -> origin/LT558-optimize-sql  (unable to update local ref)

error: unable to resolve reference refs/remotes/origin/split-css: No such file or directory

 ! [new branch]      split-css  -> origin/split-css  (unable to update local ref)

I've tried git remote prune origin, but it didn't help.

1 Answer

0 votes
by (27.5k points)

It worked out for me when I remove the files that are throwing errors from the folder .git/refs/remotes/origin/

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.1k users

Browse Categories

...