Sunday, May 8, 2016

[Solved]GitHub: fatal: Reference has invalid format: 'refs/remotes/origin/...''

I got this error when I tried to git push.

The cause: I got conflicted version files due to dropbox, in the repo I was working on.

When this happens you should :
cd ./.git

and see what files stored there have a duplicated file and remove it and do some renaming if necessary.


No comments:

Post a Comment