A collection of useful .gitignore templates
Go to file
Lars Gyrup Brink Nielsen eab7f25a2b Add slash to .sass-cache
Add slash to `.sass-cache` to signify intent of matching directories.
2015-05-15 20:35:12 +02:00
Global Merge pull request #1392 from Arvur/master 2015-05-14 12:17:26 +09:30
Actionscript.gitignore
Ada.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Agda.gitignore
Android.gitignore Android: Remove redundant pattern for matching build directories 2015-05-07 13:56:36 +08:00
AppceleratorTitanium.gitignore
AppEngine.gitignore Added template for Google App Engine 2015-01-15 19:05:19 -05:00
ArchLinuxPackages.gitignore Add .SRCINFO 2014-11-23 16:59:38 +01:00
Autotools.gitignore
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
ChefCookbook.gitignore Remove lockfiles from Chef template 2014-03-07 00:24:00 +11:00
Clojure.gitignore
CMake.gitignore
CodeIgniter.gitignore Fixed CodeIgniter.gitignore 2015-04-27 19:53:12 +09:00
CommonLisp.gitignore
Composer.gitignore Fix eol issues 2014-04-23 16:02:01 -05:00
Concrete5.gitignore
CONTRIBUTING.md
Coq.gitignore
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
Dart.gitignore Update Dart.gitignore 2014-09-17 21:31:39 -07: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
Elisp.gitignore elisp: adding .cask files to gitignore 2014-05-30 22:11:45 +05:30
Elixir.gitignore Add .gitignore for Elixir 2014-05-04 18:27:23 +02: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
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
ForceDotCom.gitignore
Fortran.gitignore Link a new fortran template to existing c++ one 2014-07-16 23:09:37 +10:00
FuelPHP.gitignore
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 Avoid ignoring Gradle wrapper jar file 2014-11-18 17:30:56 +01:00
Grails.gitignore Adding additional comments 2014-09-08 00:52:39 -04:00
GWT.gitignore
Haskell.gitignore Remove .virtualenv from Haskell.gitignore 2015-04-30 22:17:04 +01: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
Jboss.gitignore
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 Create KiCAD.gitignore 2015-03-19 19:59:59 +00:00
Kohana.gitignore
LabVIEW.gitignore LabVIEW.gitignore 2014-06-24 10:56:38 -05:00
Laravel.gitignore Add ".env" to Laravel.gitignore 2015-03-10 02:49:24 -05:00
Leiningen.gitignore Added Cider's .nrepl-port file. 2014-10-15 12:23:58 -04:00
LemonStand.gitignore
LICENSE Updated the year :-) 2014-02-13 15:57:44 +02:00
Lilypond.gitignore
Lithium.gitignore
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 Update Maven.gitignore 2015-04-02 22:39:52 +05: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
Meteor.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01: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 Fix typo from node_modules to node-modules 2015-04-30 10:10:28 +05:30
Objective-C.gitignore Update CocoaPods guide URL 2015-05-07 00:28:54 -03:00
OCaml.gitignore Add ocamlbuild and oasis generated files to OCaml .gitignore 2014-09-24 18:08:03 +07:00
Opa.gitignore
OpenCart.gitignore Returned lost config file 2014-04-08 18:48:50 +03:00
OracleForms.gitignore
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 Increase the specificity of PlayFramework rules 2014-03-21 12:46:27 +11:00
Plone.gitignore
Prestashop.gitignore Rework PrestaShop.gitignore 2015-04-17 18:25:26 +02:00
Processing.gitignore
Python.gitignore Add Jython compiled class files to the Python ignore file. 2015-04-28 19:41:00 +01:00
Qooxdoo.gitignore
Qt.gitignore Ignore Qt Creator cache files for Qbs projects. 2014-11-16 12:04:57 -08:00
R.gitignore Merge pull request #1263 from jangorecki/master 2014-11-29 15:38:28 +11:00
Rails.gitignore Typo in comment 2015-01-21 16:30:32 +08:00
README.md
RhodesRhomobile.gitignore
ROS.gitignore Remove unnecessary rules 2014-04-23 20:46:03 +09:00
Ruby.gitignore add /vendor/bundle 2015-02-05 19:05:03 +09: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
Scrivener.gitignore
Sdcc.gitignore
SeamGen.gitignore
SketchUp.gitignore
Stella.gitignore Capitalise initial letter in template filenames for consistency/sorting 2015-01-07 15:16:27 +11:00
SugarCRM.gitignore
Swift.gitignore Add Carthage build folder and explaination 2015-01-15 11:28:08 -05:00
Symfony.gitignore Add 'build' directory 2014-09-02 11:12:15 +02:00
SymphonyCMS.gitignore
TeX.gitignore Merge pull request #1411 from ptigwe/master 2015-03-01 13:05:34 +11:00
Textpattern.gitignore
TurboGears2.gitignore
Typo3.gitignore
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 #1374 from richorama/master 2015-05-14 12:21:59 +09:30
VVVV.gitignore ensure single trailing newline 2014-03-27 17:04:56 +01:00
Waf.gitignore
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
Yii.gitignore
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.