Discard uncommitted changes
You just realized the path you've been going down was not right and you want to:
Discard uncommitted changes
Some of which are on tracked files (files previously committed) and
Some of which may be on new files (files which are not tracked, have never been committed) and
git stash git stash drop
git clean -nd
If you're happy to lose the changes it lists then run:
git clean -fd