Created
June 29, 2014 20:01
-
-
Save alcidesqueiroz/86ceed070b1d5e25a28a to your computer and use it in GitHub Desktop.
Git: Remove files in .gitignore from a repository
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 -i --exclude-from=.gitignore | xargs git rm --cached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment