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.
Anil Madhavapeddy ac5192cada Add OCaml gitignore 13 years ago
Global Add CVS gitignore for anyone who has to code-share with projects using CVS. Save the dinosaurs. 13 years ago
Actionscript.gitignore Update to the Actionscript ignore file to put the .settings reference as a directory 13 years ago
Android.gitignore add basic Android gitignore 13 years ago
Autotools.gitignore to ignore autotools generated files 13 years ago
C++.gitignore Fixed comments in C++.gitignore 13 years ago
CMake.gitignore Added a .gitignore for files auto-generated by the CMake build-system. 13 years ago
CSharp.gitignore Removing redundant Visual Studio files; see Global/VisualStudio 13 years ago
CakePHP.gitignore added CakePHP gitignore 13 years ago
CodeIgniter.gitignore Fix typo in CodeIgniter gitignore 13 years ago
Concrete5.gitignore Added Concrete5 CMS .gitignore file 13 years ago
Django.gitignore Updating Django gitignore for various reasons 13 years ago
Drupal.gitignore Added Drupal gitignore. 13 years ago
Erlang.gitignore Added erlang gitignore 13 years ago
ExpressionEngine.gitignore Added ExpressionEngine gitignore file. 13 years ago
Go.gitignore Added Go.gitignore 13 years ago
Grails.gitignore Added common .gitignore for the Grails framework 13 years ago
Haskell.gitignore Add Haskell gitignore 13 years ago
Java.gitignore Added OSX icons, moved bin/** from Java to Eclipse, added *.class to Java 13 years ago
Jython.gitignore Jython ignores 13 years ago
Kohana.gitignore Kohana-PHP gitignore 13 years ago
LaTeX.gitignore (La)TeX, BibTeX, latexmk, etc 13 years ago
Lithium.gitignore Adding Lithium ignores. 13 years ago
Magento.gitignore Added Magento gitignore 13 years ago
Maven.gitignore Added Maven gitignore 13 years ago
Node.gitignore Removing .DS_Store; specific to OS X, and redundant with Global/OSX 13 years ago
OCaml.gitignore Add OCaml gitignore 13 years ago
Objective-C.gitignore Fixed comment in Objective-C.gitignore 13 years ago
Perl.gitignore Add gitignore for Perl projects 13 years ago
PlayFramework.gitignore added play framework gitignore 13 years ago
Python.gitignore Added buildout directories and the configuration data files. 13 years ago
README.md Fix readme about config setting 13 years ago
Rails.gitignore added rerun and config ignores 13 years ago
RhodesRhomobile.gitignore Add Rhodes mobile application framework gitignore 13 years ago
Ruby.gitignore Removing .DS_Store; specific to OS X, and redundant with Global/OSX 13 years ago
Scala.gitignore Added scala gitignore 13 years ago
Symfony.gitignore ignore propel properties 13 years ago
TurboGears2.gitignore Add for TurboGears2 (based off of Python template) 13 years ago
Wordpress.gitignore Added Wordpress (Forgot to 'git add .') 13 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.