SyntaxFix
Write A Post
Hire A Developer
Questions
For all tracked unstaged files use:
git checkout -- .
The . at the end is important.
.
You can replace . with a sub-directory name to clear only a specific sub-directory of your project. The problem is addressed specifically here.