Skip to content

Instantly share code, notes, and snippets.

@BrandonMathis
Created August 2, 2011 13:20
Show Gist options
  • Select an option

  • Save BrandonMathis/1120163 to your computer and use it in GitHub Desktop.

Select an option

Save BrandonMathis/1120163 to your computer and use it in GitHub Desktop.
Delete all unstaged files
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