You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Shivam Bansal 1cd6195f83 Deployed file ignore 10 年之前
Global Ignore Vim untitled and unsaved buffer swapfiles 11 年之前
Actionscript.gitignore Project files (`.project`, `.actionScriptProperties` and `.flexProperties`) removed from .gitignore as they should be version-controlled. 12 年之前
Android.gitignore add intellij files to Android.gitignore 11 年之前
AppceleratorTitanium.gitignore Added Appcelerator Titanium .gitignore file. 11 年之前
Autotools.gitignore Removed empty line from Autotools.gitignore 13 年之前
Bancha.gitignore bancha-cms gitignore 12 年之前
C++.gitignore ignoring dynamic link library in MacOS X 12 年之前
C.gitignore Add versioned so, .a, .dylib, .app 12 年之前
CFWheels.gitignore add cfwheels gitignore 13 年之前
CMake.gitignore Added a .gitignore for files auto-generated by the CMake build-system. 13 年之前
CONTRIBUTING.md add a CONTRIBUTING.md file 11 年之前
CakePHP.gitignore Make CakePHP ignore config folder of either case 11 年之前
Clojure.gitignore Add .gitignore for Leiningen projects 13 年之前
CodeIgniter.gitignore Changes to support CodeIgniter (Reactor) 2.0 13 年之前
Compass.gitignore Ignore .sass-cache directory in Compass projects. 13 年之前
Concrete5.gitignore Concrete5: Also ignore /tmp files 11 年之前
Coq.gitignore add Coq gitignore 13 年之前
Dart.gitignore Add Dart language support 11 年之前
Delphi.gitignore Delphi gitignore 12 年之前
Django.gitignore Added .pyc to Django.gitignore 13 年之前
Drupal.gitignore * Updated comments 12 年之前
Eagle.gitignore .gitignore file for Eagle 11 年之前
Erlang.gitignore Erlang.gitignore erlang.crash.dump added 11 年之前
ExpressionEngine.gitignore Added ExpressionEngine gitignore file. 13 年之前
Finale.gitignore Added a gitignore file for the Finale music notation software 12 年之前
ForceDotCom.gitignore Initial commit, Force.com gitignore file. 12 年之前
FuelPHP.gitignore FuelPHP gitignore 12 年之前
GWT.gitignore better now. 12 年之前
Go.gitignore Added Go.gitignore 13 年之前
Grails.gitignore a more complete .gitignore for Grails 1.2 and 1.3 12 年之前
Haskell.gitignore Added .virthualenv directory. 12 年之前
Java.gitignore Added Java package files (JAR, WAR, EAR) 12 年之前
Jboss.gitignore Deployed file ignore 10 年之前
Jekyll.gitignore Add Jekyll.gitignore 12 年之前
Joomla.gitignore Added Joomla 1.6 13 年之前
Jython.gitignore Jython ignores 13 年之前
Kohana.gitignore Kohana-PHP gitignore 13 年之前
LICENSE Update LICENSE 11 年之前
LaTeX.gitignore Ignore *.tdo files generated by the todonotes package 12 年之前
Leiningen.gitignore Update Leiningen.gitignore 11 年之前
LemonStand.gitignore added content_*.php with a suggestion 12 年之前
Lilypond.gitignore Add ignore file for lilypond. 13 年之前
Lithium.gitignore The Lithium app should be the root repo folder 11 年之前
Magento.gitignore Restored missing lines. 12 年之前
Maven.gitignore Added Maven gitignore 13 年之前
Node.gitignore Update Node.gitignore 11 年之前
OCaml.gitignore Add OCaml gitignore 13 年之前
Objective-C.gitignore Remove Podfile.lock from Objective-C ignores 11 年之前
Opa.gitignore Added Opa.gitignore 12 年之前
OracleForms.gitignore added gitignore for Oracle Forms development 12 年之前
Perl.gitignore Do not ignore directory matching /Build/ 12 年之前
PlayFramework.gitignore Merge pull request #212 from ikeike443/patch-1 11 年之前
Plone.gitignore Add Plone CMS git .ignore file 12 年之前
Python.gitignore Merge pull request #329 from svkampen/patch-1 11 年之前
Qooxdoo.gitignore Add gitignore for qooxdoo apps 13 年之前
Qt.gitignore dynlib => dylib (msspl) 12 年之前
R.gitignore add 'R.gitignore' for R 12 年之前
README.md Update README to detail best pull request style 11 年之前
Rails.gitignore Merge pull request #463 from michaelminter/patch-1 11 年之前
RhodesRhomobile.gitignore Add Rhodes mobile application framework gitignore 13 年之前
Ruby.gitignore Keep entries sorted to make it easier to lookup for a specific item or spot duplicates. 13 年之前
Scala.gitignore Add ".scala_dependencies" file generated by Scala-IDE 13 年之前
Sdcc.gitignore Adding support for SDCC compiler files 12 年之前
SeamGen.gitignore Update SeamGen.gitignore 11 年之前
SketchUp.gitignore Add gitignore for sketchup backup files. 12 年之前
SugarCRM.gitignore Group custom/ dirs in SugarCRM ignore 12 年之前
Symfony.gitignore symfony creates symlinks to plugins in the web folder 12 年之前
Symfony2.gitignore Added parameters.yml to list for Symfony2. 12 年之前
SymphonyCMS.gitignore added symphony and workspace/uploads dir 12 年之前
Target3001.gitignore Added new extensions of production formats which were introduced in version 15.4.0.59 12 年之前
Tasm.gitignore Add Tasm.gitignore 13 年之前
Textpattern.gitignore Added Textpattern gitignore 12 年之前
TurboGears2.gitignore Add for TurboGears2 (based off of Python template) 13 年之前
Typo3.gitignore Added gitignore file for Typo3. 11 年之前
Unity.gitignore Add Unity gitignore 12 年之前
VisualStudio.gitignore Unignore "packages/*/build" in VisualStudio.gitignore. 11 年之前
Waf.gitignore added Waf.gitignore 13 年之前
WordPress.gitignore Renamed Wordpress.gitignore to WordPress.gitignore 11 年之前
Yii.gitignore Adding Yii ignores 13 年之前
ZendFramework.gitignore Added ZendFramework.gitignore. 13 年之前
gcov.gitignore .gitignore for gcov files 13 年之前
nanoc.gitignore Add gitignore for nanoc 13 年之前
opencart.gitignore fix Opencart gitignore 11 年之前

README.md

A Collection of Useful .gitignore Templates

That’s what we’re trying to build. Please contribute by forking and sending a pull request.

Also please only modify one file per commit. This’ll make merging easier for everyone.

Global gitignores (OS-specific, editor-specific) should go into the Global/ directory.

For more information on gitignore: gitignore(5)

Pull Requests

Since this repo includes a large and diverse number of programming languages, frameworks, editors, and ecosystems, it’s very helpful if you can provide a link to information supporting your pull request. Up-to-date, canonical documentation that mentions the files to be ignored is best.

This ensures we can efficiently go through pull requests and keep quality high.

Global Ignores

git has a global configuration that applies rules to all of your projects. For example:

git config --global core.excludesfile ~/.global_ignore

… will apply the rules in ~/.global_ignore for all of your repos.

This is useful if you use an editor (like Emacs) that drops backup files, or if you work in an environment that generates binary or intermediate files that are always ignored.