Created
August 2, 2011 13:20
-
-
Save BrandonMathis/1120163 to your computer and use it in GitHub Desktop.
Delete all unstaged 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 | awk '$1 == "??" {print $2}' | xargs rm -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment