Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A collection of useful .gitignore templates

branch: master
Octocat-spinner-32 Global Merge pull request #1040 from NSElvis/master April 16, 2014
Octocat-spinner-32 Actionscript.gitignore ensure single trailing newline October 06, 2013
Octocat-spinner-32 Ada.gitignore ensure single trailing newline March 27, 2014
Octocat-spinner-32 Agda.gitignore Create Agda.gitignore August 15, 2013
Octocat-spinner-32 Android.gitignore Improve Android .gitignore comments January 16, 2014
Octocat-spinner-32 AppceleratorTitanium.gitignore Added Appcelerator Titanium .gitignore file. August 22, 2012
Octocat-spinner-32 ArchLinuxPackages.gitignore Added other common compression formats. March 21, 2014
Octocat-spinner-32 Autotools.gitignore Add stamp-h1 to ignored files February 25, 2013
Octocat-spinner-32 Bancha.gitignore bancha-cms gitignore April 20, 2012
Octocat-spinner-32 C++.gitignore Add executables for C++ August 08, 2012
Octocat-spinner-32 C.gitignore Merge branch 'master' of git://github.com/github/gitignore into add-c… November 26, 2013
Octocat-spinner-32 CFWheels.gitignore add cfwheels gitignore February 21, 2011
Octocat-spinner-32 CMake.gitignore Added a .gitignore for files auto-generated by the CMake build-system. November 09, 2010
Octocat-spinner-32 CONTRIBUTING.md extract out new contributing guidelines to CONTRIBUTING.md November 05, 2013
Octocat-spinner-32 CakePHP.gitignore ensure single trailing newline October 06, 2013
Octocat-spinner-32 ChefCookbook.gitignore Remove lockfiles from Chef template March 07, 2014
Octocat-spinner-32 Clojure.gitignore Add .gitignore for Leiningen projects April 08, 2011
Octocat-spinner-32 CodeIgniter.gitignore Add Exception for htaccess file denying access to the cache folder July 13, 2012
Octocat-spinner-32 CommonLisp.gitignore Added file for Common Lisp. November 27, 2013
Octocat-spinner-32 Composer.gitignore Add Composer.gitignore for composer packages November 09, 2013
Octocat-spinner-32 Concrete5.gitignore ensure single trailing newline October 06, 2013
Octocat-spinner-32 Coq.gitignore ensure single trailing newline October 06, 2013
Octocat-spinner-32 DM.gitignore ensure single trailing newline March 27, 2014
Octocat-spinner-32 Dart.gitignore Update Dart.gitignore March 08, 2014
Octocat-spinner-32 Delphi.gitignore trim March 31, 2014
Octocat-spinner-32 Drupal.gitignore Fixes uncomplete CTools March 24, 2014
Octocat-spinner-32 EPiServer.gitignore ensure single trailing newline March 27, 2014
Octocat-spinner-32 Eagle.gitignore .gitignore file for Eagle August 15, 2012
Octocat-spinner-32 Elisp.gitignore Ignore file for elisp projects November 19, 2013
Octocat-spinner-32 Erlang.gitignore Erlang.gitignore erlang.crash.dump added January 14, 2013
Octocat-spinner-32 ExpressionEngine.gitignore Merge pull request #488 from nanadevelopment/eeConfigAdd November 11, 2013
Octocat-spinner-32 Fancy.gitignore ensure single trailing newline March 27, 2014
Octocat-spinner-32 Finale.gitignore ensure single trailing newline October 06, 2013
Octocat-spinner-32 ForceDotCom.gitignore ensure single trailing newline October 06, 2013
Octocat-spinner-32 FuelPHP.gitignore FuelPHP gitignore August 17, 2011
Octocat-spinner-32 GWT.gitignore Adding ".gwt/", "gwt-unitCache/", "www-test" and ".gwt-tmp/" to .giti… November 13, 2013
Octocat-spinner-32 Go.gitignore Ignore Go test files July 19, 2013
Octocat-spinner-32 Gradle.gitignore fixed type in filename February 01, 2013
Octocat-spinner-32 Grails.gitignore Removed IDE support files entirely February 19, 2014
Octocat-spinner-32 Haskell.gitignore Fix typo in haskell gitignore February 27, 2014
Octocat-spinner-32 Idris.gitignore Add an Idris gitignore February 27, 2014
Octocat-spinner-32 Java.gitignore gitignore VM crash logs January 18, 2014
Octocat-spinner-32 Jboss.gitignore Deployed file ignore July 25, 2013
Octocat-spinner-32 Jekyll.gitignore Add Jekyll.gitignore August 02, 2011
Octocat-spinner-32 Joomla.gitignore Use absolute paths to the files to ignore November 26, 2013
Octocat-spinner-32 Jython.gitignore Jython ignores November 09, 2010
Octocat-spinner-32 Kohana.gitignore ensure single trailing newline October 06, 2013
Octocat-spinner-32 LICENSE Updated the year :-) February 13, 2014
Octocat-spinner-32 Laravel4.gitignore Laravel4 gitignore April 16, 2014
Octocat-spinner-32 Leiningen.gitignore Merge pull request #970 from wzhishen/master February 28, 2014
Octocat-spinner-32 LemonStand.gitignore ensure single trailing newline October 06, 2013
Octocat-spinner-32 Lilypond.gitignore Add ignore file for lilypond. February 21, 2011
Octocat-spinner-32 Lithium.gitignore The Lithium app should be the root repo folder September 01, 2012
Octocat-spinner-32 Magento.gitignore Ignore log of applied patches February 25, 2014
Octocat-spinner-32 Maven.gitignore Add 'pom.xml.versionsBackup' March 31, 2014
Octocat-spinner-32 Meteor.gitignore ensure single trailing newline March 27, 2014
Octocat-spinner-32 Node.gitignore Remove Results classes from Node gitignore February 28, 2014
Octocat-spinner-32 OCaml.gitignore Add OCaml gitignore November 23, 2010
Octocat-spinner-32 Objective-C.gitignore Ignore xcuserstate April 15, 2014
Octocat-spinner-32 Opa.gitignore Added Opa.gitignore March 03, 2012
Octocat-spinner-32 OpenCart.gitignore Returned lost config file April 08, 2014
Octocat-spinner-32 OracleForms.gitignore added gitignore for Oracle Forms development March 19, 2012
Octocat-spinner-32 Packer.gitignore Add a support for packer March 09, 2014
Octocat-spinner-32 Perl.gitignore ignore more perl outputs January 07, 2013
Octocat-spinner-32 Phalcon.gitignore Remove trailing asterisks in Phalcon rules March 21, 2014
Octocat-spinner-32 PlayFramework.gitignore Increase the specificity of PlayFramework rules March 21, 2014
Octocat-spinner-32 Plone.gitignore Covered by global vim template November 12, 2013
Octocat-spinner-32 Prestashop.gitignore ensure single trailing newline March 27, 2014
Octocat-spinner-32 Processing.gitignore Added the processing project September 26, 2013
Octocat-spinner-32 Python.gitignore Ignore coverage results March 06, 2014
Octocat-spinner-32 Qooxdoo.gitignore Add gitignore for qooxdoo apps February 21, 2011
Octocat-spinner-32 Qt.gitignore Update Qt.gitignore March 16, 2014
Octocat-spinner-32 R.gitignore R.gitignore - Added .Rdata files February 27, 2014
Octocat-spinner-32 README.md add a section about not including every template under the sun November 05, 2013
Octocat-spinner-32 ROS.gitignore Create ROS.gitignore September 18, 2013
Octocat-spinner-32 Rails.gitignore add notice about secret files April 04, 2014
Octocat-spinner-32 RhodesRhomobile.gitignore Add Rhodes mobile application framework gitignore November 10, 2010
Octocat-spinner-32 Ruby.gitignore Merge RubyMotion into Ruby March 07, 2014
Octocat-spinner-32 SCons.gitignore Added SCons.gitignore December 17, 2013
Octocat-spinner-32 Sass.gitignore Merge Sass and Compass templates February 21, 2014
Octocat-spinner-32 Scala.gitignore Ignore worksheet directory November 20, 2013
Octocat-spinner-32 Scrivener.gitignore Added .gitignore for Scrivener November 11, 2013
Octocat-spinner-32 Sdcc.gitignore ensure single trailing newline October 06, 2013
Octocat-spinner-32 SeamGen.gitignore Update SeamGen.gitignore July 31, 2012
Octocat-spinner-32 SketchUp.gitignore Add gitignore for sketchup backup files. January 18, 2012
Octocat-spinner-32 SugarCRM.gitignore Explanations for ignoring the cache directory November 27, 2013
Octocat-spinner-32 Symfony.gitignore ensure single trailing newline October 06, 2013
Octocat-spinner-32 Symfony2.gitignore added composer.phar to Symfony2 gitignore May 22, 2012
Octocat-spinner-32 SymphonyCMS.gitignore added symphony and workspace/uploads dir April 11, 2012
Octocat-spinner-32 Target3001.gitignore Added new extensions of production formats which were introduced in v… August 02, 2011
Octocat-spinner-32 Tasm.gitignore Add Tasm.gitignore February 21, 2011
Octocat-spinner-32 TeX.gitignore Merge pull request #1008 from maieul/master April 14, 2014
Octocat-spinner-32 Textpattern.gitignore Added Textpattern gitignore January 17, 2012
Octocat-spinner-32 TurboGears2.gitignore Add for TurboGears2 (based off of Python template) November 09, 2010
Octocat-spinner-32 Typo3.gitignore Update Typo3.gitignore - added version number as TYPO3 CMS v6 needs d… January 09, 2013
Octocat-spinner-32 Umbraco.gitignore Removed Visual Studio ignore rules from umbraco.gitignore February 07, 2014
Octocat-spinner-32 Unity.gitignore Update on using boo script generated by Unity3D February 05, 2014
Octocat-spinner-32 VVVV.gitignore ensure single trailing newline March 27, 2014
Octocat-spinner-32 VisualStudio.gitignore Adds Roslyn .ide directories to .gitignore. April 14, 2014
Octocat-spinner-32 Waf.gitignore added Waf.gitignore November 22, 2010
Octocat-spinner-32 WordPress.gitignore also ignore sensitive configuration data December 28, 2013
Octocat-spinner-32 Yeoman.gitignore Create Yeoman.gitignore October 21, 2013
Octocat-spinner-32 Yii.gitignore Merge remote-tracking branch 'origin/master' into pr/506 November 11, 2013
Octocat-spinner-32 ZendFramework.gitignore ensure single trailing newline October 06, 2013
Octocat-spinner-32 gcov.gitignore .gitignore for gcov files February 01, 2011
Octocat-spinner-32 nanoc.gitignore Update nanoc.gitignore January 30, 2014
Octocat-spinner-32 stella.gitignore Add file for Atari 2600 / Atari 7800 assemblers October 04, 2013
README.md

A collection of .gitignore templates

This is GitHub’s 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

We’d 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 project’s homepage. Unless it’s extremely popular, there’s a chance the maintainers don’t know about or use the language, framework, editor, app, or project your change applies to.

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

  • Explain why you’re 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. It’s 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 you’re making, the more likely we’ll be to accept your contribution quickly.

Please also understand that we can’t 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, it’s not because it’s not awesome.

Contributing workflow

Here’s 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 fork’s 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.

Something went wrong with that request. Please try again.