Skip to content

Instantly share code, notes, and snippets.

@keithbloom
Created July 31, 2012 08:41
Show Gist options
  • Save keithbloom/3215053 to your computer and use it in GitHub Desktop.
Save keithbloom/3215053 to your computer and use it in GitHub Desktop.
Use git status to remove unwanted files added by NuGet
git status --porcelain | select-string -pattern "\.dll|\.xml" | foreach-object { $_ -replace "\?\? "} | rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment