Git: Unstage files in current working directory

To unstage files in current working directory:

git checkout -- .

For a specific file use:

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


Explore our projects