Created
September 12, 2018 12:02
-
-
Save AhmedHelalAhmed/fcef089f576475b5d05f59cbd999883a to your computer and use it in GitHub Desktop.
make global 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
| // commands | |
| cd | |
| touch .gitignore_global | |
| git config --global core.excludesfile ~/.gitignore_global | |
| vim .gitignore_global | |
| // for phpstorm | |
| // in project if you add it to git already | |
| git rm --cached .idea -r | |
| // in .gitignore_global | |
| .idea/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment