A collection of useful .gitignore templates
Go to file
2018-06-18 06:54:30 -03:00
.github Trim trailing whitespace 2018-06-05 11:09:20 +07:00
docs first pass at some docs for this idea 2018-06-18 06:54:30 -03:00
Global Merge pull request #2570 from justinhartman/patch-5 2018-06-17 19:29:36 -03:00
Actionscript.gitignore Fix comments on same line causing ignore to break 2017-08-10 23:27:44 -04:00
Ada.gitignore
Agda.gitignore
Android.gitignore Merge pull request #2648 from leesah/master 2018-04-11 14:15:41 +10:00
AppceleratorTitanium.gitignore
AppEngine.gitignore
ArchLinuxPackages.gitignore
Autotools.gitignore Update Autotools.gitignore 2017-09-20 10:37:54 +08:00
C.gitignore
C++.gitignore
CakePHP.gitignore
CFWheels.gitignore
ChefCookbook.gitignore
Clojure.gitignore
CMake.gitignore cmake: add Testing/ log directory 2017-01-10 18:30:58 -06:00
CodeIgniter.gitignore Merge branch 'master' into codeigniter3update 2017-02-02 09:36:10 -02:00
CommonLisp.gitignore Update CommonLisp.gitignore 2016-12-27 12:12:30 -05:00
Composer.gitignore Fix link to go to current anchor 2017-10-27 17:55:29 -05:00
Concrete5.gitignore
CONTRIBUTING.md Trim trailing whitespace 2018-06-05 11:09:20 +07:00
Coq.gitignore
CraftCMS.gitignore
CUDA.gitignore
D.gitignore
Dart.gitignore remove Jetbrain and MacOS related values 2018-05-27 17:22:53 -07:00
Delphi.gitignore Trim trailing whitespace 2018-06-05 11:09:20 +07:00
DM.gitignore
Drupal.gitignore Add default file, README in libraries and translations in Drupal 2017-08-20 10:44:48 +03:00
Eagle.gitignore Added a few common CAM file extensions (#2555) 2017-12-26 09:54:52 +10:30
Elisp.gitignore
Elixir.gitignore Add {prod, dev, whatever_enviroment}.secret.exs 2018-02-24 18:48:24 -03:00
Elm.gitignore
EPiServer.gitignore
Erlang.gitignore
ExpressionEngine.gitignore
ExtJs.gitignore Adds some files 2017-09-07 18:55:03 +02:00
Fancy.gitignore
Finale.gitignore
ForceDotCom.gitignore
Fortran.gitignore
FuelPHP.gitignore
Gcov.gitignore
GitBook.gitignore
Go.gitignore Go: Add '*.exe~' to .gitignore 2018-01-01 20:57:36 +01:00
Godot.gitignore remove system specific ignores. 2018-03-07 15:34:01 -08:00
Gradle.gitignore
Grails.gitignore
GWT.gitignore
Haskell.gitignore Add cabal.project.local~ to Haskell.gitignore (#2479) 2017-11-29 12:04:15 +11:00
Idris.gitignore
IGORPro.gitignore
Java.gitignore Added NiFi .nar files 2018-04-12 09:44:21 +01:00
Jboss.gitignore
Jekyll.gitignore Update Jekyll.gitignore (#2540) 2017-12-06 07:40:27 +11:00
Joomla.gitignore Joomla: don't ignore .gitignore 2018-02-23 08:07:25 -08:00
Julia.gitignore
KiCad.gitignore KiCad: Add backup, cache and rascue formats 2018-03-11 10:22:05 -03:00
Kohana.gitignore
Kotlin.gitignore
LabVIEW.gitignore Ignore the .cache folder for LabVIEW projects 2018-05-09 13:28:57 -05:00
Laravel.gitignore Merge pull request #2192 from Arsfiqball/update-laravel-patch-2 2017-01-29 13:31:39 +01:00
Leiningen.gitignore Update .gitignore with .cpcache 2018-03-18 10:40:50 +05:30
LemonStand.gitignore
LICENSE
Lilypond.gitignore
Lithium.gitignore
Lua.gitignore
Magento.gitignore Fixes issue excluding sub directories 2017-03-09 11:31:19 +01:00
Maven.gitignore Reword comment 2017-02-15 14:00:41 -07:00
Mercury.gitignore
MetaProgrammingSystem.gitignore
Nanoc.gitignore Nanoc: Ignore tmp/nanoc/, not tmp/ 2017-08-29 23:23:24 +02:00
Nim.gitignore
Node.gitignore Merge pull request #2560 from TennyZhuang/patch-2 2018-06-17 15:56:39 -03:00
Objective-C.gitignore [Fastlane] Specify screenshot files only, rather than whole folder (in case the user has frameit config) 2018-04-16 19:01:55 +02:00
OCaml.gitignore Update OCaml.gitignore 2017-09-15 12:45:14 +08:00
Opa.gitignore
OpenCart.gitignore
OracleForms.gitignore
Packer.gitignore
Perl.gitignore spelling: utils 2017-11-08 01:20:10 +00:00
Phalcon.gitignore
PlayFramework.gitignore Added /project/project to PlayFramework.gitignore 2017-02-22 08:43:06 -08:00
Plone.gitignore
Prestashop.gitignore Update Prestashop.gitignore 2017-05-15 17:48:05 +08:00
Processing.gitignore
PureScript.gitignore
Python.gitignore Merge pull request #2612 from jtogrul/master 2018-03-11 14:58:48 -07:00
Qooxdoo.gitignore
Qt.gitignore Qt: Correct typo "QtCtreator" to "QtCreator" 2018-02-13 00:22:43 +01:00
R.gitignore Exclude secret deployment key in rsconnect/ 2018-02-12 11:47:41 -05:00
Rails.gitignore Add exclude credential master key of Rails 5.2 2018-03-28 22:19:32 +09:00
README.md Fix the anchor to ignore section 2018-04-05 12:23:00 -05:00
RhodesRhomobile.gitignore
ROS.gitignore Added ignore for files created by catkin_make_isolated 2018-01-26 11:32:59 +01:00
Ruby.gitignore
Rust.gitignore Update documentation link cargo.toml vs cargo.lock 2018-03-13 13:34:43 +01:00
Sass.gitignore Add all sourcemap file formats 2018-05-24 00:12:37 -05:00
Scala.gitignore [Scala] remove external tools excludes. 2017-02-17 01:01:42 +05:00
Scheme.gitignore
SCons.gitignore
Scrivener.gitignore
Sdcc.gitignore
SeamGen.gitignore
SketchUp.gitignore
Smalltalk.gitignore Updated Smalltalk.gitignore 2017-07-30 21:36:09 +09:00
Stella.gitignore
SugarCRM.gitignore ensure the following ! rules are included 2017-05-15 19:31:13 +10:00
Swift.gitignore Double asterisk in path 2018-04-15 15:34:51 +02:00
Symfony.gitignore Revert "Remove Composer's file and directory." 2017-11-09 15:35:03 +00:00
SymphonyCMS.gitignore
Terraform.gitignore Ignore Terraform crash log files 2018-05-26 14:36:41 +02:00
TeX.gitignore Add latexrun default directory for auxiliary files 2018-05-12 10:29:57 -07:00
Textpattern.gitignore
TurboGears2.gitignore
Typo3.gitignore Merge pull request #1646 from josefglatz/TYPO3-improvements 2018-06-17 16:06:06 -03:00
Umbraco.gitignore Trim trailing whitespace 2018-06-05 11:09:20 +07:00
Unity.gitignore Added *.opendb 2018-04-28 15:13:48 +01:00
UnrealEngine.gitignore Include Plugins folder 2017-11-24 00:08:29 +01:00
VisualStudio.gitignore Trim trailing whitespace 2018-06-05 11:09:20 +07:00
VVVV.gitignore
Waf.gitignore
WordPress.gitignore Added Must Use Plugins to gotignore (#2553) 2017-12-21 09:00:58 +10:30
Xojo.gitignore
Yeoman.gitignore
Yii.gitignore
ZendFramework.gitignore Remove double-spaced lines 2017-09-12 01:29:04 -04:00
Zephir.gitignore

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 for 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 is 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.

If a template is mostly a list of files installed by a particular version of some software (e.g. a PHP framework) then it's brittle and probably no more helpful than a simple ls. If it's not possible to curate a small set of useful rules, then the template might not be a good fit for this collection.

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

CC0-1.0.