I'm using Git. I made some changes to a branch that I created and then I committed some changes. But now, when I try to commit code, I get the following message:
Warning: not all local changes may be shown due to an error: The string 'HEAD' does not represent a revision number.
Also, when I look into the local changes list in IntelliJ IDEA 12.1.6 the following message appears below the list:
Error updating changes: The string 'HEAD' does not represent a revision number
I would love to get some help on this. I googled the problem but didn't get anything pointing me on the right direction.
I had this same issue. For me simply quitting IntelliJ and re-opening it solved the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With