You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tony Petruzzi 765dd834aa add cfwheels gitignore 11 years ago
Global Merge branch 'master' of https://github.com/d2s/gitignore into d2s-master 11 years ago
Actionscript.gitignore Update to the Actionscript ignore file to put the .settings reference as a directory 11 years ago
Android.gitignore add basic Android gitignore 11 years ago
Autotools.gitignore Removed empty line from Autotools.gitignore 11 years ago
C++.gitignore Fixed comments in C++.gitignore 11 years ago
CFWheels.gitignore add cfwheels gitignore 11 years ago
CMake.gitignore Added a .gitignore for files auto-generated by the CMake build-system. 11 years ago
CSharp.gitignore c# projects: ignore user specific files, testresults and windows picture index files 11 years ago
CakePHP.gitignore Don't ignore empty files meant to preserve the file structure of an application within a git repository for later deployment 11 years ago
CodeIgniter.gitignore Fix typo in CodeIgniter gitignore 11 years ago
Concrete5.gitignore Added Concrete5 CMS .gitignore file 11 years ago
Coq.gitignore add Coq gitignore 11 years ago
Django.gitignore Updating Django gitignore for various reasons 11 years ago
Drupal.gitignore Removed duplicate settings.php. 11 years ago
Erlang.gitignore Added erlang gitignore 11 years ago
ExpressionEngine.gitignore Added ExpressionEngine gitignore file. 11 years ago
Go.gitignore Added Go.gitignore 11 years ago
Grails.gitignore Added common .gitignore for the Grails framework 11 years ago
Haskell.gitignore Haskell.gitignore: ignore files produced by c2hs 11 years ago
Java.gitignore Added OSX icons, moved bin/** from Java to Eclipse, added *.class to Java 11 years ago
Jboss.gitignore Jboss gitignore file 11 years ago
Jython.gitignore Jython ignores 11 years ago
Kohana.gitignore Kohana-PHP gitignore 11 years ago
LaTeX.gitignore Added patterns for LaTeX Beamer 11 years ago
LemonStand.gitignore Add LemonStand gitignore. 11 years ago
Lilypond.gitignore Add ignore file for lilypond. 11 years ago
Lithium.gitignore Adding Lithium ignores. 11 years ago
Magento.gitignore Added Magento gitignore 11 years ago
Maven.gitignore Added Maven gitignore 11 years ago
Node.gitignore Removing .DS_Store; specific to OS X, and redundant with Global/OSX 11 years ago
OCaml.gitignore Add OCaml gitignore 11 years ago
Objective-C.gitignore Fixed comment in Objective-C.gitignore 11 years ago
Perl.gitignore Add gitignore for Perl projects 11 years ago
PlayFramework.gitignore Ignoring db, logs, server.pid 11 years ago
Python.gitignore Added buildout directories and the configuration data files. 11 years ago
README.md Fix readme about config setting 11 years ago
Rails.gitignore added rerun and config ignores 11 years ago
RhodesRhomobile.gitignore Add Rhodes mobile application framework gitignore 11 years ago
Ruby.gitignore Removing .DS_Store; specific to OS X, and redundant with Global/OSX 11 years ago
Scala.gitignore Added scala gitignore 11 years ago
SeamGen.gitignore Added ignore patterns for projects generated using seam-gen 11 years ago
Symfony.gitignore Add ignore for Base classes from Doctrine and Propel ORM. 11 years ago
Symfony2.gitignore Symfony2 gitignore 11 years ago
TurboGears2.gitignore Add for TurboGears2 (based off of Python template) 11 years ago
VB.Net.gitignore Added a VB.Net gitignore 11 years ago
Waf.gitignore added Waf.gitignore 11 years ago
Wordpress.gitignore Add in rules for WP Super Cache, Google XML Sitemaps, and WP-DBManager plugins. 11 years ago
ZendFramework.gitignore Added ZendFramework.gitignore. 11 years ago
gcov.gitignore .gitignore for gcov files 11 years ago

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.