A collection of useful .gitignore templates
Go to file
2015-10-22 13:34:35 +02:00
Global Merge pull request #1656 from paolofulgoni/powerpoint 2015-10-14 12:30:00 +02: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 Create Agda.gitignore 2013-08-15 03:18:55 +02:00
Android.gitignore Ignoring build folder inside app module in Android projects 2015-10-14 13:45:12 -03:00
AppceleratorTitanium.gitignore Added Appcelerator Titanium .gitignore file. 2012-08-22 18:06:15 -07:00
AppEngine.gitignore Added template for Google App Engine 2015-01-15 19:05:19 -05:00
ArchLinuxPackages.gitignore Add .jar, .exe and .msi 2015-05-28 12:37:43 +02:00
Autotools.gitignore Add stamp-h1 to ignored files 2013-02-25 20:36:52 +01:00
C.gitignore Add dSYM folder to C.gitignore for OSX env 2015-03-11 23:14:12 -04:00
C++.gitignore added: rules for ingnoring precompiled headers for C/C++ 2014-08-27 13:36:18 +08:00
CakePHP.gitignore comment out CakePHP version headers 2015-03-26 01:27:09 -04:00
CFWheels.gitignore add cfwheels gitignore 2011-02-21 18:02:55 -08:00
ChefCookbook.gitignore Remove lockfiles from Chef template 2014-03-07 00:24:00 +11:00
Clojure.gitignore Add .gitignore for Leiningen projects 2011-04-08 21:02:05 +03:00
CMake.gitignore Add CMakeScripts directory 2015-05-23 16:22:53 +03:00
CodeIgniter.gitignore Fixed CodeIgniter.gitignore 2015-04-27 19:53:12 +09:00
CommonLisp.gitignore Added file for Common Lisp. 2013-11-27 07:31:41 +01:00
Composer.gitignore Fix eol issues 2014-04-23 16:02:01 -05: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
CraftCMS.gitignore Removing .DS_Store rule as it is included in global rules 2014-06-24 10:01:43 -04:00
CUDA.gitignore Add CUDA.gitignore 2015-03-14 17:29:54 -07:00
D.gitignore gitignore file for D 2015-09-27 18:45:12 +02:00
Dart.gitignore Add *.precompiled.js 2015-10-21 10:45:49 -04:00
Delphi.gitignore Added Castalia *.stat files 2014-12-01 23:08:13 +03: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 .gitignore file for Eagle 2012-08-15 01:43:20 +02:00
Elisp.gitignore elisp: adding .cask files to gitignore 2014-05-30 22:11:45 +05:30
Elixir.gitignore Add /cover to Elixir.gitignore 2015-10-19 21:20:09 +02:00
Elm.gitignore Create Elm.gitignore 2015-08-04 12:13:51 -04:00
EPiServer.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Erlang.gitignore Add ebin, rel example, concrete dev mode, .rebar 2014-08-22 01:15:23 -07:00
ExpressionEngine.gitignore Merge pull request #488 from nanadevelopment/eeConfigAdd 2013-11-11 05:37:55 -08:00
ExtJs.gitignore Should "boostrap.json" be "bootstrap.json"? 2015-01-06 17:11:00 -07: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
Fortran.gitignore Link a new fortran template to existing c++ one 2014-07-16 23:09:37 +10:00
FuelPHP.gitignore FuelPHP gitignore 2011-08-17 00:55:26 -05:00
Gcov.gitignore Capitalise initial letter in template filenames for consistency/sorting 2015-01-07 15:16:27 +11:00
GitBook.gitignore Correct URL for NPM URL reference 2015-02-05 10:21:40 -06:00
Go.gitignore Ignore profile files 2014-06-06 16:53:21 +03:00
Gradle.gitignore Update Gradle.gitignore 2015-08-24 12:54:24 +02:00
Grails.gitignore Adding additional comments 2014-09-08 00:52:39 -04:00
GWT.gitignore Adding ".gwt/", "gwt-unitCache/", "www-test" and ".gwt-tmp/" to .gitignore 2013-11-13 03:00:19 +01:00
Haskell.gitignore Added .stack-work/ directory to Haskell .gitignore. 2015-06-30 11:57:53 +09:00
Idris.gitignore Add an Idris gitignore 2014-02-27 21:51:51 -05:00
IGORPro.gitignore Create IGORPro.gitignore 2014-12-03 11:33:11 +01:00
Java.gitignore gitignore VM crash logs 2014-01-18 10:29:50 +01:00
Jboss.gitignore Deployed file ignore 2013-07-25 06:18:55 -07:00
Jekyll.gitignore Add .jekyll-metadata to default Jekyll .gitignore 2015-04-08 12:07:41 -07:00
Joomla.gitignore Update Joomla.gitignore 2015-02-13 13:39:43 +05:00
KiCAD.gitignore Add KiCad ignore for .bck and .kicad_pcb-bak 2015-07-27 23:41:56 +02:00
Kohana.gitignore ensure single trailing newline 2013-10-06 14:40:01 +02:00
LabVIEW.gitignore LabVIEW.gitignore 2014-06-24 10:56:38 -05:00
Laravel.gitignore added .env.example for projects generated with laravel new command 2015-10-15 18:02:24 +03:00
Leiningen.gitignore Added Cider's .nrepl-port file. 2014-10-15 12:23:58 -04: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 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
Lua.gitignore Added a .gitignore template for Lua based projects. 2015-01-03 17:12:56 +00:00
Magento.gitignore Stop ignoring app/code/local/Mage 2015-03-23 18:11:11 -03:00
Maven.gitignore Revert "Update Maven.gitignore" 2015-05-14 14:02:26 +09:30
Mercury.gitignore Mercury.gitignore: Add Mercury.modules 2015-01-09 13:06:58 +08:00
MetaProgrammingSystem.gitignore Grammar/formatting tweak to comments 2014-06-12 11:42:57 +10:00
Nanoc.gitignore Capitalise initial letter in template filenames for consistency/sorting 2015-01-07 15:16:27 +11:00
Nim.gitignore Create Nim.gitignore 2014-12-30 17:23:11 -05:00
Node.gitignore Add ignore for npm debug log files 2015-08-06 11:30:45 +02:00
Objective-C.gitignore Added fastlane to iOS projects 2015-10-17 13:33:41 -07:00
OCaml.gitignore Add ocamlbuild and oasis generated files to OCaml .gitignore 2014-09-24 18:08:03 +07:00
Opa.gitignore Added Opa.gitignore 2012-03-03 02:08:17 +01:00
OpenCart.gitignore Returned lost config file 2014-04-08 18:48:50 +03:00
OracleForms.gitignore added gitignore for Oracle Forms development 2012-03-19 16:46:57 -04:00
Packer.gitignore Add a support for packer 2014-03-09 14:35:00 +09:00
Perl.gitignore ignore new scratch directory for metadata 2015-02-01 17:10:53 -08:00
Phalcon.gitignore Remove trailing asterisks in Phalcon rules 2014-03-21 12:57:41 +11:00
PlayFramework.gitignore Remove entries for Intellij IDEA 2015-09-01 19:09:12 +10:00
Plone.gitignore Covered by global vim template 2013-11-12 15:09:20 +07:00
Prestashop.gitignore Fix path to ignored only root log, img and cache folder 2015-10-10 17:39:03 +02:00
Processing.gitignore Added the processing project 2013-09-26 16:19:15 -04:00
Python.gitignore Ignore temp Hypothesis test things 2015-05-11 11:30:50 +03:00
Qooxdoo.gitignore Add gitignore for qooxdoo apps 2011-02-21 18:08:18 -08:00
Qt.gitignore Ignore Qt Creator cache files for Qbs projects. 2014-11-16 12:04:57 -08:00
R.gitignore Ignore .RData files 2015-10-02 08:50:47 -04:00
Rails.gitignore Typo in comment 2015-01-21 16:30:32 +08:00
README.md Avoid redirecting by using currently Help URLs 2015-09-23 18:58:46 +02:00
RhodesRhomobile.gitignore Add Rhodes mobile application framework gitignore 2010-11-10 03:44:16 +08:00
ROS.gitignore Remove unnecessary rules 2014-04-23 20:46:03 +09:00
Ruby.gitignore Ignore Default RSpec State File 2015-06-25 16:10:53 -07:00
Rust.gitignore revert 2014-11-06 09:27:27 +02:00
Sass.gitignore Add slash to .sass-cache 2015-05-15 20:35:12 +02:00
Scala.gitignore Ignore .history files 2014-10-19 08:59:24 -02: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 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 Capitalise initial letter in template filenames for consistency/sorting 2015-01-07 15:16:27 +11:00
SugarCRM.gitignore Explanations for ignoring the cache directory 2013-11-27 17:30:57 +01:00
Swift.gitignore Added fastlane to iOS projects 2015-10-17 13:33:41 -07:00
Symfony.gitignore Add 'build' directory 2014-09-02 11:12:15 +02:00
SymphonyCMS.gitignore added symphony and workspace/uploads dir 2012-04-11 11:39:01 +03:00
TeX.gitignore Ignore *.auxlock files created by TikZ in TeX 2015-06-24 14:02:29 +02: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 for CMS v6.2 2015-06-17 21:46:54 +02:00
Umbraco.gitignore Update Umbraco.gitignore 2014-09-29 16:31:58 +02:00
Unity.gitignore Made it so the folders only get ingored in the root 2015-04-19 01:43:23 +09:00
VisualStudio.gitignore Merge pull request #1647 from m1stegmann/patch-2 2015-10-14 12:13:53 +02:00
VVVV.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Waf.gitignore Update waf for python3 builds 2015-10-01 08:40:03 -04:00
WordPress.gitignore Ignore default plugin 2015-04-24 21:24:29 +03:00
Xojo.gitignore Ignores *.xojo_uistate 2014-09-14 11:54:56 -04: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 Fixed binary gettext files rule: .po -> .mo 2014-08-21 13:26:02 +01:00
Zephir.gitignore Added comments for Zephir 2014-06-21 20:02:16 +04: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.