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