Go to file
Tom Ward 6f6fbb0363 Unless full paths are used .gitignore, all matching files and folders will be ignored, however deep they are in the repo.
For example, ignoring log/* doesn't just ignore all log files, but also files such as lib/project/log/awesome_logger.rb.  It's a mistake I've made a couple of times but never seemed to have learned from.
2010-11-08 23:58:18 -08:00
Global New gitignore for Eclipse workspaces. 2010-11-08 23:53:35 -08:00
Actionscript.gitignore Update to the Actionscript ignore file to put the .settings reference as a directory 2010-11-09 15:43:08 +08:00
Android.gitignore add basic Android gitignore 2010-11-09 06:38:10 +08:00
Autotools.gitignore to ignore autotools generated files 2010-11-09 15:47:33 +08:00
C++.gitignore add basic gitignore for C++ 2010-11-09 06:38:10 +08:00
CMake.gitignore Added a .gitignore for files auto-generated by the CMake build-system. 2010-11-09 15:51:41 +08:00
CSharp.gitignore Adding C# ignores 2010-11-09 05:04:08 +08:00
CakePHP.gitignore added CakePHP gitignore 2010-11-09 15:43:17 +08:00
Django.gitignore How on earth did I write *.po?! Those are the actual translation files! 2010-11-09 06:42:06 +08:00
Erlang.gitignore Added erlang gitignore 2010-11-09 06:41:10 +08:00
Jython.gitignore Jython ignores 2010-11-09 04:49:58 +08:00
Kohana.gitignore Kohana-PHP gitignore 2010-11-09 04:49:25 +08:00
LaTeX.gitignore (La)TeX, BibTeX, latexmk, etc 2010-11-09 15:44:05 +08:00
Lithium.gitignore Adding Lithium ignores. 2010-11-09 15:51:51 +08:00
Magento.gitignore Added Magento gitignore 2010-11-09 06:41:42 +08:00
Node.gitignore adding Node.js ignores 2010-11-09 15:51:04 +08:00
Objective-C.gitignore Support defaulting user-specific Xcode project settings. 2010-11-08 14:44:09 -08:00
Python.gitignore Add exclusions for setup.py behaviors 2010-11-08 14:46:39 -08:00
README.md Adding documentation on global ignores 2010-11-08 23:52:52 -08:00
Rails.gitignore Unless full paths are used .gitignore, all matching files and folders will be ignored, however deep they are in the repo. 2010-11-08 23:58:18 -08:00
Ruby.gitignore Masking YARD build artifacts. 2010-11-09 15:47:54 +08:00
Scala.gitignore Added scala gitignore 2010-11-09 06:41:11 +08:00
Symfony.gitignore ignore propel properties 2010-11-09 15:44:28 +08:00
TurboGears2.gitignore Add for TurboGears2 (based off of Python template) 2010-11-09 15:46:02 +08:00

README.md

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.