You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.3KB

13 years ago
13 years ago
13 years ago
13 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # A Collection of Useful .gitignore Templates
  2. That's what we're trying to build. Please contribute
  3. by [forking][fk] and sending a [pull request][pr].
  4. Also **please** only modify **one file** per commit. This'll
  5. make merging easier for everyone.
  6. Global gitignores (OS-specific, editor-specific) should go into the
  7. `Global/` directory.
  8. For more information on gitignore: [gitignore(5)][g5]
  9. [fk]: http://help.github.com/forking/
  10. [pr]: http://help.github.com/pull-requests/
  11. [g5]: http://man.cx/gitignore
  12. ## Pull Requests
  13. Since this repo includes a large and diverse
  14. number of programming languages, frameworks, editors,
  15. and ecosystems, it's **very helpful** if you can provide
  16. a link to information supporting your pull request.
  17. Up-to-date, canonical documentation that mentions the files
  18. to be ignored is best.
  19. This ensures we can efficiently go through pull requests
  20. and keep quality high.
  21. ## Global Ignores
  22. git has a global configuration that applies rules to all of
  23. your projects. For example:
  24. git config --global core.excludesfile ~/.global_ignore
  25. ... will apply the rules in ~/.global_ignore for all of your repos.
  26. This is useful if you use an editor (like Emacs) that drops backup files,
  27. or if you work in an environment that generates binary or intermediate
  28. files that are always ignored.