A collection of useful .gitignore templates
Go to file
Brendan Forster 8512c772d7 Merge pull request #2121 from futabooo/patch-1
Add vendor folder to Go.gitignore
2016-09-27 13:48:01 +10:00
.github adding a template to help streamline review process 2016-02-27 12:48:40 +11:00
Global Add .nfs files to Linux.gitignore 2016-09-19 17:21:02 +01:00
Actionscript.gitignore Add FlashDevelop and executables to Actionscript 2016-04-15 11:36:15 +01:00
Ada.gitignore
Agda.gitignore
Android.gitignore Update Android.gitignore 2016-06-30 18:02:04 -04:00
AppceleratorTitanium.gitignore
AppEngine.gitignore
ArchLinuxPackages.gitignore
Autotools.gitignore Update Autotools.gitignore 2015-11-20 01:01:04 +01:00
C.gitignore added prerequisites for C and C++ 2016-06-29 13:33:32 -03:00
C++.gitignore added prerequisites for C and C++ 2016-06-29 13:33:32 -03:00
CakePHP.gitignore Update CakePHP.gitignore 2015-11-20 18:14:33 +01:00
CFWheels.gitignore
ChefCookbook.gitignore
Clojure.gitignore
CMake.gitignore add CTestTestfile.cmake into CMake.gitignore 2016-05-05 14:59:25 +08:00
CodeIgniter.gitignore
CommonLisp.gitignore
Composer.gitignore Incorrect Dir Path 2015-11-30 11:03:09 +07:00
Concrete5.gitignore
CONTRIBUTING.md
Coq.gitignore
CraftCMS.gitignore
CUDA.gitignore
D.gitignore Update D.gitignore 2016-06-06 22:23:51 +03:00
Dart.gitignore doc/api/ explicitly a directory 2015-10-24 14:01:53 -04:00
Delphi.gitignore Add "__recovery" folder. 2016-02-17 02:19:09 +09:00
DM.gitignore
Drupal.gitignore
Eagle.gitignore update Eagle.gitignore for .lck 2016-02-03 21:51:15 +08:00
Elisp.gitignore
Elixir.gitignore Add /cover to Elixir.gitignore 2015-10-19 21:20:09 +02:00
Elm.gitignore Ignore elm-stuff project-wide 2016-07-28 10:18:33 +02:00
EPiServer.gitignore
Erlang.gitignore Update Erlang.gitignore 2016-09-13 23:37:43 +09:00
ExpressionEngine.gitignore
ExtJs.gitignore
Fancy.gitignore
Finale.gitignore
ForceDotCom.gitignore
Fortran.gitignore
FuelPHP.gitignore
Gcov.gitignore
GitBook.gitignore
Go.gitignore Add vendor folder to Go.gitignore 2016-09-27 10:42:20 +09:00
Gradle.gitignore Only ignore the build directory in the same directory as .gitignore for Gradle 2016-06-24 12:30:38 -05:00
Grails.gitignore
GWT.gitignore
Haskell.gitignore ignore HTF test framework artifact directory 2016-08-10 12:56:26 +02:00
Idris.gitignore
IGORPro.gitignore
Java.gitignore
Jboss.gitignore
Jekyll.gitignore
Joomla.gitignore Updated for Joomla 3.6.2 2016-08-12 23:48:38 +05:00
Julia.gitignore Julia: ignore deps/deps.jl 2016-05-16 12:14:15 -04:00
KiCad.gitignore Remove OSX specific rule 2016-03-06 17:21:06 +01:00
Kohana.gitignore
LabVIEW.gitignore
Laravel.gitignore do not ignore storage/ directory 2016-05-18 14:11:54 +09:00
Leiningen.gitignore Correct .jar and .class mentions 2016-07-17 23:33:53 -03:00
LemonStand.gitignore
LICENSE Update license year to 2016 2016-01-16 17:56:31 +05:30
Lilypond.gitignore
Lithium.gitignore
Lua.gitignore
Magento.gitignore exclude only community code that is shipped with Magento 2015-12-03 07:30:11 +01:00
Maven.gitignore
Mercury.gitignore
MetaProgrammingSystem.gitignore
Nanoc.gitignore
Nim.gitignore
Node.gitignore Update Node.gitignore (*.tgz) 2016-09-26 06:59:20 +01:00
Objective-C.gitignore Update ignore for fastlane files in Objective-C 2016-08-16 11:20:39 -03:00
OCaml.gitignore
Opa.gitignore
OpenCart.gitignore Update OpenCart.gitignore 2015-12-02 16:31:51 +00:00
OracleForms.gitignore
Packer.gitignore
Perl.gitignore
Phalcon.gitignore
PlayFramework.gitignore remove harmful ignore 2015-11-29 20:48:11 +02:00
Plone.gitignore
Prestashop.gitignore Update Prestashop.gitignore 2015-11-04 10:31:36 +01:00
Processing.gitignore
Python.gitignore Add hidden virtualenv to Python template 2016-08-14 15:47:01 +02:00
Qooxdoo.gitignore
Qt.gitignore Ignore all forms of CMakeLists.txt.user 2016-06-15 07:58:14 -04:00
R.gitignore Add knitr and R markdown patterns to R.gitignore 2016-04-29 07:17:44 -07:00
Rails.gitignore Remove config/secrets.yml 2016-08-08 11:38:53 -07:00
README.md updated README to mention new license 2015-12-14 13:19:50 +10:30
RhodesRhomobile.gitignore
ROS.gitignore
Ruby.gitignore Add a brief explanation. 2016-04-15 22:19:36 -07:00
Rust.gitignore Update Rust.gitignore 2016-04-15 07:44:14 +05:30
Sass.gitignore
Scala.gitignore Scala: Ignore ENSIME files 2016-07-21 18:39:44 -03:00
Scheme.gitignore
SCons.gitignore
Scrivener.gitignore
Sdcc.gitignore
SeamGen.gitignore
SketchUp.gitignore
Smalltalk.gitignore
Stella.gitignore
SugarCRM.gitignore Adding index.html files for cache and upload folders 2016-07-25 12:25:19 +02:00
Swift.gitignore ignore .dSYM along with .ipa files 2016-05-06 12:57:06 +03:00
Symfony.gitignore Ignore session files 2016-03-27 22:03:12 +02:00
SymphonyCMS.gitignore
Terraform.gitignore Ignore terraform module directory 2016-07-14 14:34:04 +08:00
TeX.gitignore Update TeX.gitignore 2016-09-05 19:52:48 +01:00
Textpattern.gitignore
TurboGears2.gitignore
Typo3.gitignore Fix few typos 2015-12-13 16:07:46 +02:00
Umbraco.gitignore Clean up expired entries, fix whitespace. 2015-11-06 15:04:28 +11:00
Unity.gitignore Added project folder created by Consulo IDE 2016-06-21 11:34:13 -03:00
UnrealEngine.gitignore ignore *.VC.db files 2016-06-15 16:43:12 +04:30
VisualStudio.gitignore Update VisualStudio.gitignore 2016-09-26 09:27:10 +01:00
VVVV.gitignore
Waf.gitignore
WordPress.gitignore
Xojo.gitignore
Yeoman.gitignore
Yii.gitignore
ZendFramework.gitignore added doctrine 2 orm default cache and proxy locations 2015-10-19 13:10:11 -02: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 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

CC0-1.0.