Skip to content

Instantly share code, notes, and snippets.

@aidancasey
Created July 17, 2015 07:53
Show Gist options
  • Save aidancasey/8eaf77289257299bede5 to your computer and use it in GitHub Desktop.
Save aidancasey/8eaf77289257299bede5 to your computer and use it in GitHub Desktop.
Git command to remove a bunch of deleted files from a repo
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