Last active
February 12, 2021 13:01
-
-
Save joshdholtz/4497670 to your computer and use it in GitHub Desktop.
Remove files from updated .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 -ci --exclude-standard -z | xargs -0 git rm --cached | |
### Alias in .zshrc or .bashrc because too hard to remember | |
# alias ungit="git ls-files -ci --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