Last active
August 5, 2019 20:50
-
-
Save tomanistor/b4ce579715888727b827eccb4de3f84c to your computer and use it in GitHub Desktop.
Remove files and folders mentioned in .gitignore
This file contains hidden or 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 -z | xargs -0 git rm --cached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment