This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//git: undo all working dir changes including new files | |
git reset --hard # removes staged and working directory changes | |
git clean -f -d # remove untracked files | |
git clean -f -x -d # CAUTION: as above but removes ignored files like config. |