Skip to content

Instantly share code, notes, and snippets.

@dangerousbeans
Created September 7, 2011 09:33
Show Gist options
  • Save dangerousbeans/1200155 to your computer and use it in GitHub Desktop.
Save dangerousbeans/1200155 to your computer and use it in GitHub Desktop.
Remove deleted files from git
git ls-files --deleted | xargs git rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment