Created
July 5, 2016 09:36
-
-
Save s3ni0r/d3fe79dd8ef90c6a434305dbe9f8f2ac to your computer and use it in GitHub Desktop.
Remove all ignored files from git index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git ls-files --ignored --exclude-standard | sed 's/.*/"&"/' | xargs git rm -r --cached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment