Created
December 14, 2012 04:53
-
-
Save JeffCost/4282768 to your computer and use it in GitHub Desktop.
GIT: Ignore tracked files
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
[alias] | |
ignore = !git update-index --assume-unchanged | |
unignore = !git update-index --no-assume-unchanged | |
ignored = !git ls-files -v | grep ^[a-z] | |
Usage: | |
git ignore <file> | |
git unignore <file> | |
git ignored |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment