.gitignore文件大全

Justin Spahr-Summers 444416f067 Remove Podfile.lock from Objective-C ignores 12 年之前
Global eaa2ad526f Merge pull request #474 from zhaojunmeng/master 12 年之前
Actionscript.gitignore 818ed295cf Project files (`.project`, `.actionScriptProperties` and `.flexProperties`) removed from .gitignore as they should be version-controlled. 13 年之前
Android.gitignore aec3539998 add intellij files to Android.gitignore 12 年之前
AppceleratorTitanium.gitignore a1ef23350d Added Appcelerator Titanium .gitignore file. 12 年之前
Autotools.gitignore fb8ad2e87b Removed empty line from Autotools.gitignore 14 年之前
Bancha.gitignore 0537b8dc34 bancha-cms gitignore 13 年之前
C++.gitignore 6e3af78e04 ignoring dynamic link library in MacOS X 13 年之前
C.gitignore 1bd40f51ee Add versioned so, .a, .dylib, .app 13 年之前
CFWheels.gitignore 765dd834aa add cfwheels gitignore 14 年之前
CMake.gitignore 900d322dd9 Added a .gitignore for files auto-generated by the CMake build-system. 14 年之前
CakePHP.gitignore 67083ce70d Make CakePHP ignore config folder of either case 12 年之前
Clojure.gitignore 8b8ff44ec7 Add .gitignore for Leiningen projects 14 年之前
CodeIgniter.gitignore a6ba7878bf Changes to support CodeIgniter (Reactor) 2.0 14 年之前
Compass.gitignore e7c15d9c37 Ignore .sass-cache directory in Compass projects. 14 年之前
Concrete5.gitignore d3dba5beb9 Concrete5: Also ignore /tmp files 12 年之前
Coq.gitignore 2483494fc2 add Coq gitignore 14 年之前
Dart.gitignore 694eb80d7b Add Dart language support 12 年之前
Delphi.gitignore 5fb6627cd4 Delphi gitignore 13 年之前
Django.gitignore 6039d18e27 Added .pyc to Django.gitignore 14 年之前
Drupal.gitignore 3bdb155bd2 * Updated comments 13 年之前
Eagle.gitignore 0b64d5e93d .gitignore file for Eagle 12 年之前
Erlang.gitignore 9d8b60e91d Erlang.gitignore erlang.crash.dump added 12 年之前
ExpressionEngine.gitignore 550ef6f668 Added ExpressionEngine gitignore file. 14 年之前
Finale.gitignore 132c6616b9 Added a gitignore file for the Finale music notation software 13 年之前
ForceDotCom.gitignore ae6058ec1e Initial commit, Force.com gitignore file. 13 年之前
FuelPHP.gitignore 13f9c194fc FuelPHP gitignore 13 年之前
GWT.gitignore 1c6ecb30dc better now. 13 年之前
Go.gitignore 3d54ffb5fd Added Go.gitignore 14 年之前
Grails.gitignore cbf52e39a4 a more complete .gitignore for Grails 1.2 and 1.3 13 年之前
Haskell.gitignore f71524c5bd Added .virthualenv directory. 13 年之前
Java.gitignore ea5e498544 Added Java package files (JAR, WAR, EAR) 13 年之前
Jboss.gitignore cd93fbcade Jboss gitignore file 14 年之前
Jekyll.gitignore 609d34bcdc Add Jekyll.gitignore 13 年之前
Joomla.gitignore bd072695a4 Added Joomla 1.6 14 年之前
Jython.gitignore 2ce6478f7b Jython ignores 14 年之前
Kohana.gitignore a3a9c380b9 Kohana-PHP gitignore 14 年之前
LICENSE 098aee26a1 Update LICENSE 12 年之前
LaTeX.gitignore 9865ef35a9 Ignore *.tdo files generated by the todonotes package 13 年之前
Leiningen.gitignore cdb12b3754 Update Leiningen.gitignore 12 年之前
LemonStand.gitignore 435bd7227c added content_*.php with a suggestion 13 年之前
Lilypond.gitignore f14c958ecf Add ignore file for lilypond. 14 年之前
Lithium.gitignore a5d6516f13 The Lithium app should be the root repo folder 12 年之前
Magento.gitignore 49977476d3 Restored missing lines. 13 年之前
Maven.gitignore 0a41318dba Added Maven gitignore 14 年之前
Node.gitignore 3df67a9651 Update Node.gitignore 12 年之前
OCaml.gitignore ac5192cada Add OCaml gitignore 14 年之前
Objective-C.gitignore 444416f067 Remove Podfile.lock from Objective-C ignores 12 年之前
Opa.gitignore ca9eb76e12 Added Opa.gitignore 13 年之前
OracleForms.gitignore ed7b451e45 added gitignore for Oracle Forms development 13 年之前
Perl.gitignore 7ce12c766a Do not ignore directory matching /Build/ 13 年之前
PlayFramework.gitignore e605ce745a Merge pull request #212 from ikeike443/patch-1 12 年之前
Plone.gitignore 9a2661f880 Add Plone CMS git .ignore file 13 年之前
Python.gitignore cec9f74523 Merge pull request #329 from svkampen/patch-1 12 年之前
Qooxdoo.gitignore d5850d466f Add gitignore for qooxdoo apps 14 年之前
Qt.gitignore d49148e2bd dynlib => dylib (msspl) 13 年之前
R.gitignore bf8796aece add 'R.gitignore' for R 13 年之前
README.md c1cac76c73 Update README to detail best pull request style 12 年之前
Rails.gitignore 4f86c33896 Merge pull request #463 from michaelminter/patch-1 12 年之前
RhodesRhomobile.gitignore b2788d6ed2 Add Rhodes mobile application framework gitignore 14 年之前
Ruby.gitignore d63e2bd8ad Keep entries sorted to make it easier to lookup for a specific item or spot duplicates. 14 年之前
Scala.gitignore d168d1b616 Add ".scala_dependencies" file generated by Scala-IDE 14 年之前
Sdcc.gitignore f4530cfa0b Adding support for SDCC compiler files 13 年之前
SeamGen.gitignore e2c0408fb6 Update SeamGen.gitignore 12 年之前
SketchUp.gitignore 23673d6c99 Add gitignore for sketchup backup files. 13 年之前
SugarCRM.gitignore 45b39fabf7 Group custom/ dirs in SugarCRM ignore 13 年之前
Symfony.gitignore f55e013690 symfony creates symlinks to plugins in the web folder 13 年之前
Symfony2.gitignore f0d9ce471a Added parameters.yml to list for Symfony2. 13 年之前
SymphonyCMS.gitignore bf51b786a3 added symphony and workspace/uploads dir 13 年之前
Target3001.gitignore d641ef962c Added new extensions of production formats which were introduced in version 15.4.0.59 13 年之前
Tasm.gitignore a0b3a59a30 Add Tasm.gitignore 14 年之前
Textpattern.gitignore e8752f766b Added Textpattern gitignore 13 年之前
TurboGears2.gitignore 340ddd1fb4 Add for TurboGears2 (based off of Python template) 14 年之前
Typo3.gitignore 0fc164e94e Added gitignore file for Typo3. 12 年之前
Unity.gitignore e131e0a68f Add Unity gitignore 13 年之前
VisualStudio.gitignore f2ab73150a Unignore "packages/*/build" in VisualStudio.gitignore. 12 年之前
Waf.gitignore 9abdee41a6 added Waf.gitignore 14 年之前
WordPress.gitignore ef9e85b478 Renamed Wordpress.gitignore to WordPress.gitignore 12 年之前
Yii.gitignore 3970297265 Adding Yii ignores 14 年之前
ZendFramework.gitignore 6dc2f0a133 Added ZendFramework.gitignore. 14 年之前
gcov.gitignore a9b0aadc98 .gitignore for gcov files 14 年之前
nanoc.gitignore f52b40cfa4 Add gitignore for nanoc 14 年之前
opencart.gitignore ac71c8886d fix Opencart gitignore 12 年之前

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.