About this question
How to reset local branch to remote repository?
I did:
git reset --hard HEAD
But when I run a git status,
On branch master
Changes to be committed:
(use "git reset HEAD ..." tounstage)
modified: java/com/mycompany/TestContacts.java
modified: java/com/mycompany/TestParser.java
Can you please tell me why I have these 'modified'? I haven't touched these files? How to remove these modifications.