Skip to content

Instantly share code, notes, and snippets.

@thisivan
Created November 26, 2011 12:58
Show Gist options
  • Save thisivan/1395629 to your computer and use it in GitHub Desktop.
Save thisivan/1395629 to your computer and use it in GitHub Desktop.
Git-rm: Delete already deleted files
git status | grep deleted | cut -f2 | sed -e 's/deleted:\s*//g' | xargs git rm -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment