A collection of useful .gitignore templates
Go to file
Carl Suster 977641c6f6 Merge pull request #1015 from carpii/master
Updated OSX.gitignore to include directories commonly created on AFP shares
2014-04-04 12:05:14 +11:00
Global Merge pull request #1015 from carpii/master 2014-04-04 12:05:14 +11:00
Actionscript.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
Ada.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Agda.gitignore
Android.gitignore Improve Android .gitignore comments 2014-01-16 15:40:25 -08:00
AppceleratorTitanium.gitignore
ArchLinuxPackages.gitignore Added other common compression formats. 2014-03-21 15:23:57 +00:00
Autotools.gitignore
Bancha.gitignore
C.gitignore Merge branch 'master' of git://github.com/github/gitignore into add-common-linux-compile-file-extensions 2013-11-26 22:31:25 -05:00
C++.gitignore
CakePHP.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
CFWheels.gitignore
ChefCookbook.gitignore Remove lockfiles from Chef template 2014-03-07 00:24:00 +11:00
Clojure.gitignore
CMake.gitignore
CodeIgniter.gitignore
CommonLisp.gitignore Added file for Common Lisp. 2013-11-27 07:31:41 +01:00
Composer.gitignore Add Composer.gitignore for composer packages 2013-11-09 13:38:32 +02:00
Concrete5.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
CONTRIBUTING.md extract out new contributing guidelines to CONTRIBUTING.md 2013-11-05 17:05:25 +00:00
Coq.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
Dart.gitignore Update Dart.gitignore 2014-03-08 00:45:00 -08:00
Delphi.gitignore trim 2014-03-31 11:49:00 +08:00
DM.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Drupal.gitignore Fixes uncomplete CTools 2014-03-24 17:14:52 +01:00
Eagle.gitignore
Elisp.gitignore Ignore file for elisp projects 2013-11-19 17:36:12 +05:30
EPiServer.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Erlang.gitignore
ExpressionEngine.gitignore Merge pull request #488 from nanadevelopment/eeConfigAdd 2013-11-11 05:37:55 -08:00
Fancy.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Finale.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
ForceDotCom.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
FuelPHP.gitignore
gcov.gitignore
Go.gitignore
Gradle.gitignore
Grails.gitignore Removed IDE support files entirely 2014-02-19 01:16:52 +01:00
GWT.gitignore Adding ".gwt/", "gwt-unitCache/", "www-test" and ".gwt-tmp/" to .gitignore 2013-11-13 03:00:19 +01:00
Haskell.gitignore Fix typo in haskell gitignore 2014-02-27 20:24:54 -05:00
Idris.gitignore Add an Idris gitignore 2014-02-27 21:51:51 -05:00
Java.gitignore gitignore VM crash logs 2014-01-18 10:29:50 +01:00
Jboss.gitignore
Jekyll.gitignore
Joomla.gitignore Use absolute paths to the files to ignore 2013-11-26 20:37:48 -08:00
Jython.gitignore
Kohana.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
Leiningen.gitignore Merge pull request #970 from wzhishen/master 2014-02-28 13:42:14 +11:00
LemonStand.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
LICENSE Updated the year :-) 2014-02-13 15:57:44 +02:00
Lilypond.gitignore
Lithium.gitignore
Magento.gitignore Ignore log of applied patches 2014-02-25 11:47:19 +00:00
Maven.gitignore Add 'pom.xml.versionsBackup' 2014-03-31 02:52:46 +02:00
Meteor.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
nanoc.gitignore Update nanoc.gitignore 2014-01-30 21:15:45 -02:00
Node.gitignore Remove Results classes from Node gitignore 2014-02-28 12:46:45 -08:00
Objective-C.gitignore Add Xcode support. 2014-03-19 19:14:15 -04:00
OCaml.gitignore
Opa.gitignore
OpenCart.gitignore fixup OpenCart double-file situation 2014-03-27 17:04:02 +01:00
OracleForms.gitignore
Packer.gitignore Add a support for packer 2014-03-09 14:35:00 +09:00
Perl.gitignore
Phalcon.gitignore Remove trailing asterisks in Phalcon rules 2014-03-21 12:57:41 +11:00
PlayFramework.gitignore Increase the specificity of PlayFramework rules 2014-03-21 12:46:27 +11:00
Plone.gitignore Covered by global vim template 2013-11-12 15:09:20 +07:00
Prestashop.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Processing.gitignore Added the processing project 2013-09-26 16:19:15 -04:00
Python.gitignore Ignore coverage results 2014-03-06 10:07:26 +02:00
Qooxdoo.gitignore
Qt.gitignore Update Qt.gitignore 2014-03-16 23:04:52 -07:00
R.gitignore R.gitignore - Added .Rdata files 2014-02-27 06:45:11 -06:00
Rails.gitignore Remove old sass-cache rule for Rails 2014-02-21 10:39:43 +11:00
README.md add a section about not including every template under the sun 2013-11-05 00:26:19 +00:00
RhodesRhomobile.gitignore
ROS.gitignore
Ruby.gitignore Merge RubyMotion into Ruby 2014-03-07 00:15:40 +11:00
Sass.gitignore Merge Sass and Compass templates 2014-02-21 10:39:43 +11:00
Scala.gitignore Ignore worksheet directory 2013-11-20 20:13:07 +01:00
SCons.gitignore Added SCons.gitignore 2013-12-17 15:06:57 +08:00
Scrivener.gitignore Added .gitignore for Scrivener 2013-11-11 14:34:42 +00:00
Sdcc.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
SeamGen.gitignore
SketchUp.gitignore
stella.gitignore Add file for Atari 2600 / Atari 7800 assemblers 2013-10-04 13:02:43 -04:00
SugarCRM.gitignore Explanations for ignoring the cache directory 2013-11-27 17:30:57 +01:00
Symfony2.gitignore
Symfony.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
SymphonyCMS.gitignore
Target3001.gitignore
Tasm.gitignore
TeX.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Textpattern.gitignore
TurboGears2.gitignore
Typo3.gitignore
Umbraco.gitignore Removed Visual Studio ignore rules from umbraco.gitignore 2014-02-07 12:05:48 +00:00
Unity.gitignore Update on using boo script generated by Unity3D 2014-02-05 16:42:29 +08:00
VisualStudio.gitignore Do not ignore .ncrunch* in Visual Studio projects. 2014-04-03 18:23:00 +01:00
VVVV.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Waf.gitignore
WordPress.gitignore also ignore sensitive configuration data 2013-12-28 17:16:38 +01:00
Yeoman.gitignore Create Yeoman.gitignore 2013-10-21 16:20:37 +11:00
Yii.gitignore Merge remote-tracking branch 'origin/master' into pr/506 2013-11-11 09:51:38 -08:00
ZendFramework.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00

A collection of .gitignore templates

This is GitHubs collection of .gitignore file templates. We use this list to populate the .gitignore template choosers available in the GitHub.com interface when creating new repositories and files.

For more information about how .gitignore files work, and how to use them, the following resources are a great place to start:

Folder structure

The files in the root directory are for .gitignore templates that are project specific, such as language or framework specific templates. Global (operating system or editor specific) templates should go into the Global/ directory.

Contributing guidelines

Wed love you to help us improve this project. To help us keep this collection high quality, we request that contributions adhere to the following guidelines.

  • Provide a link to the application or projects homepage. Unless its extremely popular, theres a chance the maintainers dont know about or use the language, framework, editor, app, or project your change applies to.

  • Provide links to documentation supporting the change youre making. Current, canonical documentation mentioning the files being ignored is best. If documentation isnt available to support your change, do the best you can to explain what the files being ignored are for.

  • Explain why youre making a change. Even if it seems self-evident, please take a sentence or two to tell us why your change or addition should happen. Its especially helpful to articulate why this change applies to everyone who works with the applicable technology, rather than just you or your team.

  • Please consider the scope of your change. If your change specific to a certain language or framework, then make sure the change is made to the template for that language or framework, rather than to the template for an editor, tool, or operating system.

  • Please only modify one template per pull request. This helps keep pull requests and feedback focused on a specific project or technology.

In general, the more you can do to help us understand the change youre making, the more likely well be to accept your contribution quickly.

Please also understand that we cant list every tool that ever existed. Our aim is to curate a collection of the most common and helpful templates, not to make sure we cover every project possible. If we choose not to include your language, tool, or project, its not because its not awesome.

Contributing workflow

Heres how we suggest you go about proposing a change to this project:

  1. Fork this project to your account.
  2. Create a branch for the change you intend to make.
  3. Make your changes to your fork.
  4. Send a pull request from your forks branch to our master branch.

Using the web-based interface to make changes is fine too, and will help you by automatically forking the project and prompting to send a pull request too.

License

MIT.