A collection of useful .gitignore templates
Go to file
2011-03-03 11:07:48 +01:00
Global convert to unix line endings 2011-03-03 11:07:48 +01:00
Actionscript.gitignore
Android.gitignore
Autotools.gitignore Removed empty line from Autotools.gitignore 2010-11-23 08:40:50 +02:00
C++.gitignore Fixed comments in C++.gitignore 2010-11-13 05:54:52 +08:00
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
CFWheels.gitignore add cfwheels gitignore 2011-02-21 18:02:55 -08:00
CMake.gitignore
CodeIgniter.gitignore Fix typo in CodeIgniter gitignore 2010-11-23 09:36:32 +08:00
Concrete5.gitignore Added Concrete5 CMS .gitignore file 2010-11-10 16:50:58 +08:00
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 Updating Django gitignore for various reasons 2010-11-10 03:04:22 +01:00
Drupal.gitignore Added more rules to work as non core drupal developer 2011-02-21 18:06:49 -08:00
Erlang.gitignore
ExpressionEngine.gitignore Added ExpressionEngine gitignore file. 2010-11-13 05:55:14 +08:00
gcov.gitignore .gitignore for gcov files 2011-02-01 06:03:02 +08:00
Go.gitignore Added Go.gitignore 2010-11-10 03:43:58 +08:00
Grails.gitignore Added common .gitignore for the Grails framework 2010-11-10 03:44:06 +08:00
Haskell.gitignore Haskell.gitignore: ignore files produced by c2hs 2010-11-23 10:15:05 +01:00
Java.gitignore Added OSX icons, moved bin/** from Java to Eclipse, added *.class to Java 2010-11-10 09:06:12 +01:00
Jboss.gitignore Jboss gitignore file 2011-02-21 17:56:28 -08:00
Jython.gitignore
Kohana.gitignore
LaTeX.gitignore Added LaTeX temp files for List of Tables (*.lot files). 2011-01-19 11:20:21 +03:30
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 Fixed comment in Objective-C.gitignore 2010-11-13 05:54:52 +08:00
OCaml.gitignore Add OCaml gitignore 2010-11-23 09:36:53 +08:00
Perl.gitignore Add gitignore for Perl projects 2010-11-10 03:40:43 +08:00
PlayFramework.gitignore Add logs and server.pid 2011-02-21 18:09:21 -08:00
Python.gitignore Added buildout directories and the configuration data files. 2010-11-11 11:59:34 +08:00
Qooxdoo.gitignore Add gitignore for qooxdoo apps 2011-02-21 18:08:18 -08:00
Rails.gitignore added pickle generated files 2011-02-21 18:04:04 -08:00
README.md Fix readme about config setting 2010-11-10 03:43:28 +08:00
RhodesRhomobile.gitignore Add Rhodes mobile application framework gitignore 2010-11-10 03:44:16 +08:00
Ruby.gitignore
Scala.gitignore
SeamGen.gitignore Added ignore patterns for projects generated using seam-gen 2010-11-23 09:44:53 +08:00
Symfony2.gitignore Symfony2 gitignore 2011-01-28 04:02:39 +08:00
Symfony.gitignore Add ignore for Base classes from Doctrine and Propel ORM. 2011-02-21 17:56:01 -08:00
Tasm.gitignore Add Tasm.gitignore 2011-02-21 18:03:04 -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
Yii.gitignore Adding Yii ignores 2011-02-21 18:08:03 -08:00
ZendFramework.gitignore Added ZendFramework.gitignore. 2010-11-23 19:07:09 +03:30

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.