Last active
August 29, 2015 14:15
-
-
Save pwm1234/0868a1026c7c3c87a64d to your computer and use it in GitHub Desktop.
configuring a global gitignore
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
$ git config --global core.excludesfile ~/.gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the above
git config
command will make the following entry in~/.gitconfig
You can then put lines like the following in
~/.gitignore
to ignore emacs backup files