Skip to content

Instantly share code, notes, and snippets.

@og-shawn-crigger
Created June 28, 2013 20:22
Show Gist options
  • Save og-shawn-crigger/5887793 to your computer and use it in GitHub Desktop.
Save og-shawn-crigger/5887793 to your computer and use it in GitHub Desktop.
git rm's all files that were deleted in the current directory
git ls-files -z --deleted | xargs -0 git rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment