Last active
August 5, 2022 10:00
-
-
Save simonrjones/b20e06dfed3b52c8c17b74cda74bcaa7 to your computer and use it in GitHub Desktop.
Global gitignore settings.
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
# Standard ignore rules | |
# OS generated files | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
ehthumbs.db | |
Thumbs.db | |
# IDEs | |
nbproject | |
.komodotools | |
.buildpath | |
.project | |
.settings | |
.idea | |
*.sublime-project | |
*.sublime-workspace |
A small change:
I think the command you run should be git config --global core.excludesfile ~/.gitignore
Thanks Matt, have edited my original comment :)
This has been moved to: https://github.com/studio24/mac-setup/blob/main/global-gitignore/.gitignore
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Save this file to
~/.gitignore
You can then set this as your global gitignore via:
git config --global core.excludesfile ~/.gitignore
Also see https://help.github.com/articles/ignoring-files/#create-a-global-gitignore