Skip to content

Instantly share code, notes, and snippets.

@jhbabon
Created February 29, 2012 08:26
Show Gist options
  • Save jhbabon/1939156 to your computer and use it in GitHub Desktop.
Save jhbabon/1939156 to your computer and use it in GitHub Desktop.
Remove deleted files from git index
# borrowed from: http://log.iany.me/post/16812080563/git-rm-deleted-files
git ls-files -d | xargs git rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment