Last active
December 22, 2015 19:59
-
-
Save micha149/6523387 to your computer and use it in GitHub Desktop.
Git: Remove untracked files
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 --porcelain -u | grep -E '^\?\?' | sed -e 's/^\?? //' | xargs rm -rf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment