Undo all uncommitted changes in Git
Unstage all files you might have staged with git add: git reset Revert all local uncommitted changes (should be executed in repository root): git checkout . Revert all uncommitted changes git reset --hard HEAD Remove all local un tracked files, so only git tracked files remain git clean -fdx Undo [...]