A collection of useful .gitignore templates
Pull request Compare This branch is 4 commits ahead, 2080 commits behind github:master.
Latest commit d5c3075 Jun 7, 2012 @Calrion Re-added entry for custom icons.
Seems it was TextMate not displaying the characters as expected. Vi still shows ^M^M at the end of the entry.
Permalink
Failed to load latest commit information.
Global Re-added entry for custom icons. Jun 6, 2012
Actionscript.gitignore
Android.gitignore Ignore '.project' and '.classpath' to avoid conflict between developm… Apr 11, 2012
Autotools.gitignore
C++.gitignore Fixed comments in C++.gitignore Nov 12, 2010
C.gitignore Gitignore file for C. Apr 15, 2012
CFWheels.gitignore add cfwheels gitignore Feb 22, 2011
CMake.gitignore Added a .gitignore for files auto-generated by the CMake build-system. Nov 9, 2010
CSharp.gitignore Copy/paste Global/VisualStudio.gitignore into here for now Apr 18, 2012
CakePHP.gitignore Don't ignore empty files meant to preserve the file structure of an a… Nov 23, 2010
Clojure.gitignore
CodeIgniter.gitignore
Compass.gitignore
Concrete5.gitignore
Coq.gitignore add Coq gitignore Nov 23, 2010
Delphi.gitignore
Django.gitignore Added .pyc to Django.gitignore Apr 2, 2011
Drupal.gitignore
Erlang.gitignore
ExpressionEngine.gitignore Added ExpressionEngine gitignore file. Nov 12, 2010
Finale.gitignore
ForceDotCom.gitignore
FuelPHP.gitignore
GWT.gitignore
Go.gitignore Added Go.gitignore Nov 9, 2010
Grails.gitignore
Haskell.gitignore Added .virthualenv directory. Apr 1, 2012
Java.gitignore
Jboss.gitignore
Jekyll.gitignore
Joomla.gitignore Added Joomla 1.6 May 1, 2011
Jython.gitignore Jython ignores Nov 8, 2010
Kohana.gitignore
LaTeX.gitignore
Leiningen.gitignore
LemonStand.gitignore
Lilypond.gitignore Add ignore file for lilypond. Feb 22, 2011
Lithium.gitignore
Magento.gitignore
Maven.gitignore Added Maven gitignore Nov 9, 2010
Node.gitignore checking in the node_modules dir is best practice for app developers Jan 6, 2012
OCaml.gitignore
Objective-C.gitignore
Opa.gitignore Added Opa.gitignore Mar 3, 2012
OracleForms.gitignore added gitignore for Oracle Forms development Mar 19, 2012
Perl.gitignore
PlayFramework.gitignore
Python.gitignore add '.pyd' and '.so' (C extensions) in Python.gitignore Apr 12, 2012
Qooxdoo.gitignore
R.gitignore
README.md
Rails.gitignore
RhodesRhomobile.gitignore Add Rhodes mobile application framework gitignore Nov 9, 2010
Ruby.gitignore
Scala.gitignore Add ".scala_dependencies" file generated by Scala-IDE Jun 11, 2011
SeamGen.gitignore
SketchUp.gitignore
SugarCRM.gitignore Group custom/ dirs in SugarCRM ignore Apr 18, 2012
Symfony.gitignore symfony creates symlinks to plugins in the web folder Feb 2, 2012
Symfony2.gitignore
SymphonyCMS.gitignore
Target3001.gitignore
Tasm.gitignore Add Tasm.gitignore Feb 22, 2011
Textpattern.gitignore Added Textpattern gitignore Jan 17, 2012
TurboGears2.gitignore Add for TurboGears2 (based off of Python template) Nov 9, 2010
Unity.gitignore
VB.Net.gitignore
Waf.gitignore
Wordpress.gitignore
Yii.gitignore
ZendFramework.gitignore
gcov.gitignore
nanoc.gitignore
opencart.gitignore

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.