我将存储库切换到我的分支,当我打印 git status 我看到修改文件时,我尝试执行 git reset --hard 但没有效果:((
git status
On branch release
Changes not staged for commit:
modified: htdocs/fonts/OfficinaSansBoldC.eot
modified: htdocs/fonts/OfficinaSansBoldC.svg
modified: htdocs/fonts/OfficinaSansBoldC.ttf
modified: htdocs/fonts/OfficinaSansBoldC.woff
modified: htdocs/fonts/OfficinaSansC-Book.eot
modified: htdocs/fonts/OfficinaSansC-Book.svg
modified: htdocs/fonts/OfficinaSansC-Book.ttf
modified: htdocs/fonts/OfficinaSansC-Book.woff
no changes added to commit
git reset --hard origin/release
git status
On branch release
Changes not staged for commit
modified: htdocs/fonts/officinasansboldc.eot
modified: htdocs/fonts/officinasansboldc.svg
modified: htdocs/fonts/officinasansboldc.ttf
modified: htdocs/fonts/officinasansboldc.woff
modified: htdocs/fonts/officinasansc-book.eot
modified: htdocs/fonts/officinasansc-book.svg
modified: htdocs/fonts/officinasansc-book.ttf
modified: htdocs/fonts/officinasansc-book.woff
no changes added to commit