Farzher
Farzher

Reputation: 14563

GitHub Windows "loading commits failed"

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

Answers (1)

Farzher
Farzher

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

Related Questions