Can't seem to discard changes in Git
问题 After seeing the following from the command line: # On branch RB_3.0.10 # Changed but not updated: # (use \"git add <file>...\" to update what will be committed) # (use \"git checkout -- <file>...\" to discard changes in working directory) # # modified: index.htm I am trying to discard my changes by typing the command: git checkout -- index.htm but when I re-run git status, it looks exactly the same. The checkout doesn\'t seem to be working. Am I doing something wrong? I am using GIT 1.6.1.2