1
0
mirror of https://github.com/github/gitignore synced 2024-11-23 12:14:21 +01:00
gitignore/README.md

42 lines
1.3 KiB
Markdown
Raw Normal View History

2010-11-08 21:21:45 +01:00
# A Collection of Useful .gitignore Templates
2010-11-08 21:43:25 +01:00
That's what we're trying to build. Please contribute
by [forking][fk] and sending a [pull request][pr].
2010-11-08 23:56:21 +01:00
Also **please** only modify **one file** per commit. This'll
make merging easier for everyone.
2010-11-09 00:00:06 +01:00
Global gitignores (OS-specific, editor-specific) should go into the
`Global/` directory.
2010-11-08 21:52:45 +01:00
2010-11-08 21:46:40 +01:00
For more information on gitignore: [gitignore(5)][g5]
2010-11-08 21:43:25 +01:00
[fk]: http://help.github.com/forking/
[pr]: http://help.github.com/pull-requests/
2010-11-08 21:46:40 +01:00
[g5]: http://man.cx/gitignore
2010-11-09 01:11:36 +01:00
## Pull Requests
Since this repo includes a large and diverse
number of programming languages, frameworks, editors,
and ecosystems, it's **very helpful** if you can provide
a link to information supporting your pull request.
Up-to-date, canonical documentation that mentions the files
to be ignored is best.
This ensures we can efficiently go through pull requests
and keep quality high.
2010-11-09 01:11:36 +01:00
## Global Ignores
git has a global configuration that applies rules to all of
your projects. For example:
git config --global core.excludesfile ~/.global_ignore
2010-11-09 01:11:36 +01:00
... 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.