Skip to content

Instantly share code, notes, and snippets.

@KraigWalker
Created September 8, 2015 15:00
Show Gist options
  • Save KraigWalker/ab60f36135d30fd4fab5 to your computer and use it in GitHub Desktop.
Save KraigWalker/ab60f36135d30fd4fab5 to your computer and use it in GitHub Desktop.
Untrack any existing files that you've added to your .gitignore
# put this in your .bashrc/.zshrc file
alias gri="git ls-files --ignored --exclude-standard | xargs git rm"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment