A collection of useful .gitignore templates
Go to file
2012-03-16 18:49:26 -03:00
Global Merge pull request #183 from x3ro/master 2011-09-01 16:59:13 -07: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 Updated Generated Files location (*R was kind of dangerous), added local.properties 2011-04-27 13:12:44 -07:00
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
Clojure.gitignore Add .gitignore for Leiningen projects 2011-04-08 21:02:05 +03:00
CMake.gitignore Added a .gitignore for files auto-generated by the CMake build-system. 2010-11-09 15:51:41 +08:00
CodeIgniter.gitignore Changes to support CodeIgniter (Reactor) 2.0 2011-05-11 22:56:28 -07:00
Compass.gitignore Ignore .sass-cache directory in Compass projects. 2011-05-10 18:16:30 +02: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 ReSharper is a add-in which works in Visual Studio only. It's already in the VisualStudio gitignore file. 2011-05-28 02:17:13 +02:00
Django.gitignore Added .pyc to Django.gitignore 2011-04-01 22:44:05 -04:00
Drupal.gitignore Added more rules to work as non core drupal developer 2011-02-21 18:06:49 -08:00
Erlang.gitignore Added *.plt used by dialyzer 2011-06-13 09:40:25 -07:00
ExpressionEngine.gitignore Added ExpressionEngine gitignore file. 2010-11-13 05:55:14 +08:00
Finale.gitignore Added a gitignore file for the Finale music notation software 2011-09-01 13:04:09 -04:00
ForceDotCom.gitignore Initial commit, Force.com gitignore file. 2011-08-30 05:41:07 -07:00
FuelPHP.gitignore FuelPHP gitignore 2011-08-17 00:55:26 -05: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 Added cabal-dev dir. 2011-08-07 03:09:17 +03:00
Java.gitignore Added Java package files (JAR, WAR, EAR) 2011-09-01 17:03:22 -07:00
Jboss.gitignore Jboss gitignore file 2011-02-21 17:56:28 -08:00
Jekyll.gitignore Add Jekyll.gitignore 2011-08-02 21:36:51 +01:00
Joomla.gitignore Added Joomla 1.6 2011-05-01 18:11:31 +01: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 Merge pull request #180 from DigitalGuru/master 2011-09-01 17:00:05 -07:00
Leiningen.gitignore Add .gitignore for Leiningen projects 2011-04-08 21:02:05 +03: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 Adding Lithium ignores. 2010-11-09 15:51:51 +08:00
Magento.gitignore Restored missing lines. 2012-03-16 18:49:26 -03:00
Maven.gitignore Added Maven gitignore 2010-11-09 16:08:50 +08:00
nanoc.gitignore Add gitignore for nanoc 2011-05-29 21:24:34 -04:00
Node.gitignore [minor] Update Node.gitignore for npm 1.0 2011-05-29 21:47:07 -04:00
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
opencart.gitignore Opencart gitignore file 2011-05-12 20:27:24 +05:30
Perl.gitignore added .build - used by Dist::Zilla 2011-03-12 22:44:09 -03:00
PlayFramework.gitignore Ignoring precompiled directory 2011-04-09 01:02:36 +02:00
Python.gitignore Update Python.gitignore with some commonly used patterns for buildout-based projects 2011-04-04 22:14:13 -05:00
Qooxdoo.gitignore Add gitignore for qooxdoo apps 2011-02-21 18:08:18 -08:00
Rails.gitignore config/*.yml should not be ignored in Rails 2011-12-05 06:14:54 +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 Keep entries sorted to make it easier to lookup for a specific item or spot duplicates. 2011-04-08 10:54:24 +02:00
Scala.gitignore Add ".scala_dependencies" file generated by Scala-IDE 2011-06-11 16:28:19 -07:00
SeamGen.gitignore Added ignore patterns for projects generated using seam-gen 2010-11-23 09:44:53 +08:00
SugarCRM.gitignore Sometime the emails folder starts with an uppercase letter. 2011-08-18 14:09:43 +02:00
Symfony2.gitignore Updated through http://www.deanoj.co.uk/programming/git/git-ignore-file-for-symfony2/ 2011-09-01 17:05:08 -07:00
Symfony.gitignore Added plugin-generated model paths to symfony-1 ignore file. 2011-08-20 14:38:10 -05:00
SymphonyCMS.gitignore Adding Symphony CMS gitignore 2011-06-17 19:04:00 +02:00
Tasm.gitignore Add Tasm.gitignore 2011-02-21 18:03:04 -08:00
TurboGears2.gitignore Add for TurboGears2 (based off of Python template) 2010-11-09 15:46:02 +08:00
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 Merge pull request #179 from willmot/master 2011-09-01 17:00:34 -07: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.