A collection of useful .gitignore templates
Go to file
2013-12-26 23:53:21 +00:00
Global Merge pull request #862 from jaseemabid/emacs 2013-11-26 19:56:16 -08:00
Actionscript.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
Ada.gitignore Added: ignore Ada object and ali files 2013-10-13 20:30:13 +02:00
Agda.gitignore Create Agda.gitignore 2013-08-15 03:18:55 +02:00
Android.gitignore Merge pull request #700 from mquigley/master 2013-11-11 18:11:15 -08:00
AppceleratorTitanium.gitignore Added Appcelerator Titanium .gitignore file. 2012-08-22 18:06:15 -07:00
ArchLinuxPackages.gitignore Add .gitignore for Arch Linux Packages 2013-10-01 23:04:24 +08:00
Autotools.gitignore Add stamp-h1 to ignored files 2013-02-25 20:36:52 +01:00
Bancha.gitignore bancha-cms gitignore 2012-04-20 10:12:43 +02:00
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 Add executables for C++ 2012-08-08 11:36:30 +03:00
CakePHP.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
CFWheels.gitignore add cfwheels gitignore 2011-02-21 18:02:55 -08:00
ChefCookbook.gitignore Add ignore file for Chef cookbooks 2013-07-29 17:05:12 -06:00
Clojure.gitignore Add .gitignore for Leiningen projects 2011-04-08 21:02:05 +03:00
CMake.gitignore Added a .gitignore for files auto-generated by the CMake build-system. 2010-11-09 15:51:41 +08:00
CodeIgniter.gitignore Add Exception for htaccess file denying access to the cache folder 2012-07-13 17:52:09 +03:00
CommonLisp.gitignore Added file for Common Lisp. 2013-11-27 07:31:41 +01:00
Compass.gitignore Ignore .sass-cache directory in Compass projects. 2011-05-10 18:16:30 +02: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 Move editor specific files into a new DartEditor.gitignore 2013-11-10 17:28:41 +01:00
Delphi.gitignore Merging upstream 2013-11-27 15:03:08 -05:00
Drupal.gitignore Merge pull request #629 from ChinggizKhan/minor-drupal-gitignore-issue 2013-11-12 00:01:04 -08:00
Eagle.gitignore .gitignore file for Eagle 2012-08-15 01:43:20 +02:00
Elisp.gitignore Ignore file for elisp projects 2013-11-19 17:36:12 +05:30
EPiServer.gitignore EPiServer licenses are tied to a machine, so should be ignored 2012-06-25 13:38:38 +02:00
Erlang.gitignore Erlang.gitignore erlang.crash.dump added 2013-01-14 15:01:00 +06:00
ExpressionEngine.gitignore Merge pull request #488 from nanadevelopment/eeConfigAdd 2013-11-11 05:37:55 -08:00
Fancy.gitignore Added Fancy.gitignore 2012-04-19 04:39:58 +02: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 FuelPHP gitignore 2011-08-17 00:55:26 -05:00
gcov.gitignore .gitignore for gcov files 2011-02-01 06:03:02 +08:00
Go.gitignore Ignore Go test files 2013-07-19 11:44:46 -04:00
Gradle.gitignore fixed type in filename 2013-02-01 13:27:15 +01:00
Grails.gitignore plugin.xml shouldn't be in source control 2013-11-21 19:55:11 -05:00
GWT.gitignore Adding ".gwt/", "gwt-unitCache/", "www-test" and ".gwt-tmp/" to .gitignore 2013-11-13 03:00:19 +01:00
Haskell.gitignore Ignore files generated by cabal sandbox 2013-11-12 22:49:11 +05:30
Java.gitignore Java ME update for .mtj.tmp 2013-11-27 09:30:56 -05:00
Jboss.gitignore Deployed file ignore 2013-07-25 06:18:55 -07:00
Jekyll.gitignore Add Jekyll.gitignore 2011-08-02 21:36:51 +01:00
Joomla.gitignore Use absolute paths to the files to ignore 2013-11-26 20:37:48 -08:00
Jython.gitignore Jython ignores 2010-11-09 04:49:58 +08:00
Kohana.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
Leiningen.gitignore Leiningen by default creates a 'target' directory, not 'targets' 2013-11-09 11:32:03 -05:00
LemonStand.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
LICENSE Update LICENSE 2013-05-25 23:56:08 -06:00
Lilypond.gitignore Add ignore file for lilypond. 2011-02-21 17:57:27 -08:00
Lithium.gitignore The Lithium app should be the root repo folder 2012-09-01 19:10:36 -03:00
Magento.gitignore Merge pull request #755 from ohmanger/patch-1 2013-11-12 20:46:50 -08:00
Maven.gitignore Ignore files created by maven-release-plugin 2013-11-15 20:10:11 +01:00
Meteor.gitignore Add Meteor.gitignore 2013-05-21 21:36:05 +08:00
nanoc.gitignore Update nanoc.gitignore to include crash.log file 2012-11-17 12:12:19 -05:00
Node.gitignore Ignore grunt and lcov build files in Node projects 2013-12-26 23:53:21 +00:00
Objective-C.gitignore Added ipa file to Objective-C.gitignore 2013-11-27 14:40:07 +09:00
OCaml.gitignore Add OCaml gitignore 2010-11-23 09:36:53 +08:00
Opa.gitignore Added Opa.gitignore 2012-03-03 02:08:17 +01:00
opencart.gitignore fix Opencart gitignore 2012-08-01 10:56:28 +03:00
OracleForms.gitignore added gitignore for Oracle Forms development 2012-03-19 16:46:57 -04:00
Perl.gitignore ignore more perl outputs 2013-01-07 21:25:52 -08:00
PlayFramework.gitignore Merge pull request #657 from MrBogomips/master 2013-11-12 10:37:21 -08:00
Plone.gitignore Covered by global vim template 2013-11-12 15:09:20 +07:00
Prestashop.gitignore Add Prestashop gitignore file 2013-03-01 23:51:52 +01:00
Processing.gitignore Added the processing project 2013-09-26 16:19:15 -04:00
Python.gitignore Ignore rope files. 2013-11-13 14:32:07 +01:00
Qooxdoo.gitignore Add gitignore for qooxdoo apps 2011-02-21 18:08:18 -08:00
Qt.gitignore Merge pull request #682 from fsw/master 2013-11-12 10:40:46 -08:00
R.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
Rails.gitignore secrets.yml, not secret. 2013-12-14 12:58:17 -06:00
README.md add a section about not including every template under the sun 2013-11-05 00:26:19 +00:00
RhodesRhomobile.gitignore Add Rhodes mobile application framework gitignore 2010-11-10 03:44:16 +08:00
ROS.gitignore Create ROS.gitignore 2013-09-18 10:20:26 +02:00
Ruby.gitignore Unslashify *.gem,*.rbc,.rvmrc . 2013-11-11 21:41:11 +00:00
RubyMotion.gitignore Ignore those pesky .dat* files 2013-04-12 01:26:02 -05:00
Scala.gitignore Ignore worksheet directory 2013-11-20 20:13:07 +01: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 Update SeamGen.gitignore 2012-07-31 11:57:21 +08:00
SketchUp.gitignore Add gitignore for sketchup backup files. 2012-01-18 17:33:11 -06:00
stella.gitignore Add file for Atari 2600 / Atari 7800 assemblers 2013-10-04 13:02:43 -04:00
SugarCRM.gitignore Group custom/ dirs in SugarCRM ignore 2012-04-18 11:38:58 -07:00
Symfony2.gitignore added composer.phar to Symfony2 gitignore 2012-05-22 11:50:51 +03:00
Symfony.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
SymphonyCMS.gitignore added symphony and workspace/uploads dir 2012-04-11 11:39:01 +03:00
Target3001.gitignore Added new extensions of production formats which were introduced in version 15.4.0.59 2011-08-02 23:17:42 +02:00
Tasm.gitignore Add Tasm.gitignore 2011-02-21 18:03:04 -08:00
TeX.gitignore Rename LaTeX->TeX 2013-11-09 09:34:27 +11:00
Textpattern.gitignore Added Textpattern gitignore 2012-01-17 11:04:16 +00:00
TurboGears2.gitignore Add for TurboGears2 (based off of Python template) 2010-11-09 15:46:02 +08:00
Typo3.gitignore Update Typo3.gitignore - added version number as TYPO3 CMS v6 needs different .gitignore file 2013-01-09 13:37:51 +01:00
Unity.gitignore Ignore MonoDevelop cache files 2013-11-22 14:00:06 -05:00
VisualStudio.gitignore Remove duplicate rule 2013-12-09 21:21:57 -08:00
VVVV.gitignore added comments 2013-02-21 18:22:43 +01:00
Waf.gitignore added Waf.gitignore 2010-11-22 17:54:05 -08:00
WordPress.gitignore merging upstream changes 2013-11-08 13:54:35 -06: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.