git checkout -- .

git checkout -- path/to/file/to/revert