Created
December 20, 2017 17:42
-
-
Save JessePreiner/d27745b3846a7f234884237ac0dcc682 to your computer and use it in GitHub Desktop.
Remove all unadded untracked files in git using rm -rf (careful duh)
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 status -s | awk '{if($1=="??") print $2}' | xargs rm -rf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment