To remove all untracked files:
git clean -df
For a specific file use:
git checkout path/to/file/to/revert
For all unstaged files use:
git checkout -- .
Make sure to include the period at the end.
To remove all untracked files:
git clean -df
For a specific file use:
git checkout path/to/file/to/revert
For all unstaged files use:
git checkout -- .
Make sure to include the period at the end.