Reputation: 14563
Out of nowhere I got the error "loading commits failed" and it asked me to debug it using the console. I tried typing git log
and I got the error "fatal: bad revision 'HEAD'" pretty much anything I try to do causes this error.
Seems to be a bug with GitHub Windows Client, I definitely wasn't doing anything weird.
Upvotes: 1
Views: 1785
Reputation: 14563
Somehow the branch I was working on exploded.
In C:\Users\Farzher\Documents\GitHub\project\.git\refs\heads
I found my branch dev.lock
I just renamed it to dev
and everything was back to normal!
Upvotes: 1