我如何将我的本地分支重新设置为远程存储库的分支类似?
我试过:
git reset --hard HEAD
但 git 状态声明我有修改的文件:
On branch master
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: java/com/mycompany/TestContacts.java
modified: java/com/mycompany/TestParser.java