如何将本地分支重置为与远程存储库上的分支相同?
我试过:
git reset --hard HEAD
但是git status
声称我修改了文件:
On branch masterChanges to be committed:(use "git reset HEAD <file>..." to unstage)modified: java/com/mycompany/TestContacts.javamodified: java/com/mycompany/TestParser.java