Last active
March 25, 2020 04:24
-
-
Save culy247/37bc8af3c77cc5ae2db7276e144f77ec to your computer and use it in GitHub Desktop.
git ignore local file
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 config --global alias.ignore 'update-index --skip-worktree' | |
| git config --global alias.unignore 'update-index --no-skip-worktree' | |
| git config --global alias.ignored '!git ls-files -v | grep "^S"' | |
| exp: | |
| #to ignore local "config.xml" | |
| git ignore config.xml | |
| #to remove ignore local "config.xml" | |
| git unignore config.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment