Last active
March 2, 2018 16:08
-
-
Save cguldogan/bbb616c342ba65189325d0912b077e13 to your computer and use it in GitHub Desktop.
Clean Git Repo
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 -z | xargs -0 git rm --cached | |
git commit -am "Remove ignored files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment