Skip to content

Instantly share code, notes, and snippets.

@flesch
Created December 14, 2013 15:07
Show Gist options
  • Save flesch/7960316 to your computer and use it in GitHub Desktop.
Save flesch/7960316 to your computer and use it in GitHub Desktop.
$ git rm $(git ls-files --deleted)
$ git status | awk '/deleted/ {print $3}' | xargs git rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment