1
0
mirror of https://github.com/github/gitignore synced 2024-11-25 21:24:23 +01:00
gitignore/README.md
duritong fe0a884ba7 Fix readme about config setting
According to current man pages of git-config there is no = to set
the config value.
2010-11-10 03:43:28 +08:00

30 lines
919 B
Markdown

# A Collection of Useful .gitignore Templates
That's what we're trying to build. Please contribute
by [forking][fk] and sending a [pull request][pr].
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)][g5]
[fk]: http://help.github.com/forking/
[pr]: http://help.github.com/pull-requests/
[g5]: http://man.cx/gitignore
## 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.