mirror of
https://github.com/github/gitignore
synced 2024-12-23 21:30:46 +01:00
Lucas Jenß
85de979a03
Remove "dangerous" OS X specific .gitignore rule
The .gitignore rule "Icon?" will also match directories such as "icons/", at least on a case-insensitive file-system (this happened to me on OS X 10.7). I only noticed this several days later because a developer was complaining about missing icons in his repository. I don't really know what type of files this rule is supposed to match, but I guess the described behavior is not expected.
A Collection of Useful .gitignore Templates
That's what we're trying to build. Please contribute by forking and sending a pull request.
Also please only modify one file per commit. This'll make merging easier for everyone.
Global gitignores (OS-specific, editor-specific) should go into the
Global/
directory.
For more information on gitignore: gitignore(5)
Global Ignores
git has a global configuration that applies rules to all of your projects. For example:
git config --global core.excludesfile ~/.global_ignore
... will apply the rules in ~/.global_ignore for all of your repos.
This is useful if you use an editor (like Emacs) that drops backup files, or if you work in an environment that generates binary or intermediate files that are always ignored.
Description
Languages
Markdown
100%