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.
Josh Burns 1c5f81d954 Create Yeoman.gitignore 10 years ago
Global ensure single trailing newline 10 years ago
Actionscript.gitignore ensure single trailing newline 10 years ago
Android.gitignore ensure single trailing newline 10 years ago
AppceleratorTitanium.gitignore Added Appcelerator Titanium .gitignore file. 11 years ago
Autotools.gitignore Removed empty line from Autotools.gitignore 13 years ago
Bancha.gitignore bancha-cms gitignore 12 years ago
C++.gitignore ignoring dynamic link library in MacOS X 12 years ago
C.gitignore ignore kernel object files 10 years ago
CFWheels.gitignore add cfwheels gitignore 13 years ago
CMake.gitignore Added a .gitignore for files auto-generated by the CMake build-system. 13 years ago
CONTRIBUTING.md add a CONTRIBUTING.md file 11 years ago
CakePHP.gitignore ensure single trailing newline 10 years ago
Clojure.gitignore Add .gitignore for Leiningen projects 13 years ago
CodeIgniter.gitignore Changes to support CodeIgniter (Reactor) 2.0 13 years ago
Compass.gitignore Ignore .sass-cache directory in Compass projects. 13 years ago
Concrete5.gitignore ensure single trailing newline 10 years ago
Coq.gitignore ensure single trailing newline 10 years ago
Dart.gitignore Add Dart language support 11 years ago
Delphi.gitignore ensure single trailing newline 10 years ago
Django.gitignore Added .pyc to Django.gitignore 13 years ago
Drupal.gitignore ensure single trailing newline 10 years ago
Eagle.gitignore .gitignore file for Eagle 11 years ago
Erlang.gitignore Erlang.gitignore erlang.crash.dump added 11 years ago
ExpressionEngine.gitignore ensure single trailing newline 10 years ago
Finale.gitignore ensure single trailing newline 10 years ago
ForceDotCom.gitignore ensure single trailing newline 10 years ago
FuelPHP.gitignore FuelPHP gitignore 12 years ago
GWT.gitignore ensure single trailing newline 10 years ago
Go.gitignore Added Go.gitignore 13 years ago
Grails.gitignore ensure single trailing newline 10 years ago
Haskell.gitignore Added .virthualenv directory. 12 years ago
Java.gitignore Added Java package files (JAR, WAR, EAR) 12 years ago
Jboss.gitignore Jboss gitignore file 13 years ago
Jekyll.gitignore Add Jekyll.gitignore 12 years ago
Joomla.gitignore ensure single trailing newline 10 years ago
Jython.gitignore Jython ignores 13 years ago
Kohana.gitignore ensure single trailing newline 10 years ago
LICENSE Update LICENSE 11 years ago
LaTeX.gitignore Ignore *.tdo files generated by the todonotes package 12 years ago
Leiningen.gitignore Update Leiningen.gitignore 11 years ago
LemonStand.gitignore ensure single trailing newline 10 years ago
Lilypond.gitignore Add ignore file for lilypond. 13 years ago
Lithium.gitignore The Lithium app should be the root repo folder 11 years ago
Magento.gitignore Restored missing lines. 12 years ago
Maven.gitignore Added Maven gitignore 13 years ago
Node.gitignore ensure single trailing newline 10 years ago
OCaml.gitignore Add OCaml gitignore 13 years ago
Objective-C.gitignore add .xccheckout to Objective-C gitignore 10 years ago
Opa.gitignore Added Opa.gitignore 12 years ago
OracleForms.gitignore added gitignore for Oracle Forms development 12 years ago
Perl.gitignore Do not ignore directory matching /Build/ 12 years ago
PlayFramework.gitignore Merge pull request #212 from ikeike443/patch-1 11 years ago
Plone.gitignore Add Plone CMS git .ignore file 12 years ago
Python.gitignore Merge pull request #329 from svkampen/patch-1 11 years ago
Qooxdoo.gitignore Add gitignore for qooxdoo apps 13 years ago
Qt.gitignore dynlib => dylib (msspl) 12 years ago
R.gitignore ensure single trailing newline 10 years ago
README.md ensure single trailing newline 10 years ago
Rails.gitignore added secret_token.rb 10 years ago
RhodesRhomobile.gitignore Add Rhodes mobile application framework gitignore 13 years ago
Ruby.gitignore Keep entries sorted to make it easier to lookup for a specific item or spot duplicates. 13 years ago
Scala.gitignore ensure single trailing newline 10 years ago
Sdcc.gitignore ensure single trailing newline 10 years ago
SeamGen.gitignore Update SeamGen.gitignore 11 years ago
SketchUp.gitignore Add gitignore for sketchup backup files. 12 years ago
SugarCRM.gitignore Group custom/ dirs in SugarCRM ignore 12 years ago
Symfony.gitignore ensure single trailing newline 10 years ago
Symfony2.gitignore Added parameters.yml to list for Symfony2. 12 years ago
SymphonyCMS.gitignore added symphony and workspace/uploads dir 12 years ago
Target3001.gitignore Added new extensions of production formats which were introduced in version 15.4.0.59 12 years ago
Tasm.gitignore Add Tasm.gitignore 13 years ago
Textpattern.gitignore Added Textpattern gitignore 12 years ago
TurboGears2.gitignore Add for TurboGears2 (based off of Python template) 13 years ago
Typo3.gitignore Added gitignore file for Typo3. 11 years ago
Unity.gitignore Add Unity gitignore 12 years ago
VisualStudio.gitignore Unignore "packages/*/build" in VisualStudio.gitignore. 11 years ago
Waf.gitignore added Waf.gitignore 13 years ago
WordPress.gitignore ensure single trailing newline 10 years ago
Yeoman.gitignore Create Yeoman.gitignore 10 years ago
Yii.gitignore ensure single trailing newline 10 years ago
ZendFramework.gitignore ensure single trailing newline 10 years ago
gcov.gitignore .gitignore for gcov files 13 years ago
nanoc.gitignore Add gitignore for nanoc 13 years ago
opencart.gitignore fix Opencart gitignore 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)

Pull Requests

Since this repo includes a large and diverse number of programming languages, frameworks, editors, and ecosystems, it’s very helpful if you can provide a link to information supporting your pull request. Up-to-date, canonical documentation that mentions the files to be ignored is best.

This ensures we can efficiently go through pull requests and keep quality high.

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.