A collection of useful .gitignore templates
Go to file
2011-02-21 17:57:27 -08:00
Global Ignore files generated by Etags and Ctags 2010-11-22 17:54:05 -08:00
Actionscript.gitignore
Android.gitignore
Autotools.gitignore
C++.gitignore
CakePHP.gitignore Don't ignore empty files meant to preserve the file structure of an application within a git repository for later deployment 2010-11-22 17:54:05 -08:00
CMake.gitignore
CodeIgniter.gitignore
Concrete5.gitignore
Coq.gitignore add Coq gitignore 2010-11-22 17:42:32 -08:00
CSharp.gitignore c# projects: ignore user specific files, testresults and windows picture index files 2011-02-21 17:56:58 -08:00
Django.gitignore
Drupal.gitignore Added to Drupal.gitignore 2010-11-22 17:41:22 -08:00
Erlang.gitignore
ExpressionEngine.gitignore
Go.gitignore
Grails.gitignore
Haskell.gitignore
Java.gitignore
Jboss.gitignore Jboss gitignore file 2011-02-21 17:56:28 -08:00
Jython.gitignore
Kohana.gitignore
LaTeX.gitignore Added patterns for LaTeX Beamer 2010-11-22 17:39:59 -08:00
LemonStand.gitignore Add LemonStand gitignore. 2011-02-21 17:57:13 -08:00
Lilypond.gitignore Add ignore file for lilypond. 2011-02-21 17:57:27 -08:00
Lithium.gitignore
Magento.gitignore
Maven.gitignore
Node.gitignore
Objective-C.gitignore
OCaml.gitignore
Perl.gitignore
PlayFramework.gitignore
Python.gitignore
Rails.gitignore
README.md
RhodesRhomobile.gitignore
Ruby.gitignore
Scala.gitignore
SeamGen.gitignore Added ignore patterns for projects generated using seam-gen 2010-11-23 09:44:53 +08:00
Symfony.gitignore Add ignore for Base classes from Doctrine and Propel ORM. 2011-02-21 17:56:01 -08:00
TurboGears2.gitignore
VB.Net.gitignore Added a VB.Net gitignore 2010-11-22 17:42:06 -08:00
Waf.gitignore added Waf.gitignore 2010-11-22 17:54:05 -08:00
Wordpress.gitignore Add in rules for WP Super Cache, Google XML Sitemaps, and WP-DBManager plugins. 2010-11-23 09:38:29 +08:00

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.