How do I discard changes in my working copy that are not in the index?
For all unstaged files in current working directory use:
git checkout -- .
For a specific file use:
git checkout -- path/to/file/to/revert
--
here to remove argument ambiguation.