.gitignore文件大全

Oliver Letterer 0a9d0c31e8 Now ignoring full build directory. 13 éve
Global f7acf5b08f Merge pull request #252 from EugeneKay/master 13 éve
Actionscript.gitignore 9a2901c3ef By default, FDT5 just uses a "bin" folder (rather than the common "bin-debug" and "bin-release") 13 éve
Android.gitignore 3ad9edaa26 Ignore '.project' and '.classpath' to avoid conflict between development environments. 13 éve
Autotools.gitignore fb8ad2e87b Removed empty line from Autotools.gitignore 14 éve
C++.gitignore 605476c528 Fixed comments in C++.gitignore 14 éve
C.gitignore 2f4a4b22ad Gitignore file for C. 13 éve
CFWheels.gitignore 765dd834aa add cfwheels gitignore 14 éve
CMake.gitignore 900d322dd9 Added a .gitignore for files auto-generated by the CMake build-system. 14 éve
CSharp.gitignore c594ee4c23 Copy/paste Global/VisualStudio.gitignore into here for now 13 éve
CakePHP.gitignore fd30555204 Don't ignore empty files meant to preserve the file structure of an application within a git repository for later deployment 14 éve
Clojure.gitignore 8b8ff44ec7 Add .gitignore for Leiningen projects 14 éve
CodeIgniter.gitignore a6ba7878bf Changes to support CodeIgniter (Reactor) 2.0 14 éve
Compass.gitignore e7c15d9c37 Ignore .sass-cache directory in Compass projects. 14 éve
Concrete5.gitignore 73790aa732 Added Concrete5 CMS .gitignore file 14 éve
Coq.gitignore 2483494fc2 add Coq gitignore 14 éve
Delphi.gitignore 5fb6627cd4 Delphi gitignore 13 éve
Django.gitignore 6039d18e27 Added .pyc to Django.gitignore 14 éve
Drupal.gitignore b0594af16d Remove trailing spaces from Drupal file 13 éve
Erlang.gitignore a226f5106b Added *.plt used by dialyzer 14 éve
ExpressionEngine.gitignore 550ef6f668 Added ExpressionEngine gitignore file. 14 éve
Finale.gitignore 132c6616b9 Added a gitignore file for the Finale music notation software 13 éve
ForceDotCom.gitignore ae6058ec1e Initial commit, Force.com gitignore file. 13 éve
FuelPHP.gitignore 13f9c194fc FuelPHP gitignore 13 éve
GWT.gitignore 1c6ecb30dc better now. 13 éve
Go.gitignore 3d54ffb5fd Added Go.gitignore 14 éve
Grails.gitignore cbf52e39a4 a more complete .gitignore for Grails 1.2 and 1.3 13 éve
Haskell.gitignore f71524c5bd Added .virthualenv directory. 13 éve
Java.gitignore ea5e498544 Added Java package files (JAR, WAR, EAR) 13 éve
Jboss.gitignore cd93fbcade Jboss gitignore file 14 éve
Jekyll.gitignore 609d34bcdc Add Jekyll.gitignore 13 éve
Joomla.gitignore bd072695a4 Added Joomla 1.6 14 éve
Jython.gitignore 2ce6478f7b Jython ignores 14 éve
Kohana.gitignore a3a9c380b9 Kohana-PHP gitignore 14 éve
LaTeX.gitignore 5a880b532e Alphabetized and added xindy and glossaries detritus. 13 éve
Leiningen.gitignore 8b8ff44ec7 Add .gitignore for Leiningen projects 14 éve
LemonStand.gitignore 435bd7227c added content_*.php with a suggestion 13 éve
Lilypond.gitignore f14c958ecf Add ignore file for lilypond. 14 éve
Lithium.gitignore 537b947855 Adding Lithium ignores. 14 éve
Magento.gitignore 49977476d3 Restored missing lines. 13 éve
Maven.gitignore 0a41318dba Added Maven gitignore 14 éve
Node.gitignore 541e85287f checking in the node_modules dir is best practice for app developers 13 éve
OCaml.gitignore ac5192cada Add OCaml gitignore 14 éve
Objective-C.gitignore 0a9d0c31e8 Now ignoring full build directory. 13 éve
Opa.gitignore ca9eb76e12 Added Opa.gitignore 13 éve
OracleForms.gitignore ed7b451e45 added gitignore for Oracle Forms development 13 éve
Perl.gitignore a449bebd78 added .build - used by Dist::Zilla 14 éve
PlayFramework.gitignore e7781f83b2 Merge pull request #238 from rikkert/master 13 éve
Python.gitignore 39dbe57df7 add '.pyd' and '.so' (C extensions) in Python.gitignore 13 éve
Qooxdoo.gitignore d5850d466f Add gitignore for qooxdoo apps 14 éve
R.gitignore bf8796aece add 'R.gitignore' for R 13 éve
README.md fe0a884ba7 Fix readme about config setting 14 éve
Rails.gitignore 171709e8e8 config/*.yml should not be ignored in Rails 13 éve
RhodesRhomobile.gitignore b2788d6ed2 Add Rhodes mobile application framework gitignore 14 éve
Ruby.gitignore d63e2bd8ad Keep entries sorted to make it easier to lookup for a specific item or spot duplicates. 14 éve
Scala.gitignore d168d1b616 Add ".scala_dependencies" file generated by Scala-IDE 14 éve
SeamGen.gitignore 474d62d8dd Added ignore patterns for projects generated using seam-gen 14 éve
SketchUp.gitignore 23673d6c99 Add gitignore for sketchup backup files. 13 éve
SugarCRM.gitignore 45b39fabf7 Group custom/ dirs in SugarCRM ignore 13 éve
Symfony.gitignore f55e013690 symfony creates symlinks to plugins in the web folder 13 éve
Symfony2.gitignore f0d9ce471a Added parameters.yml to list for Symfony2. 13 éve
SymphonyCMS.gitignore bf51b786a3 added symphony and workspace/uploads dir 13 éve
Target3001.gitignore d641ef962c Added new extensions of production formats which were introduced in version 15.4.0.59 13 éve
Tasm.gitignore a0b3a59a30 Add Tasm.gitignore 14 éve
Textpattern.gitignore e8752f766b Added Textpattern gitignore 13 éve
TurboGears2.gitignore 340ddd1fb4 Add for TurboGears2 (based off of Python template) 14 éve
Unity.gitignore e131e0a68f Add Unity gitignore 13 éve
VB.Net.gitignore a66b53a87d Same deal as the C# file, merge in the VS.gitignore for now 13 éve
Waf.gitignore 9abdee41a6 added Waf.gitignore 14 éve
Wordpress.gitignore 20a14b702d Merge pull request #179 from willmot/master 13 éve
Yii.gitignore 3970297265 Adding Yii ignores 14 éve
ZendFramework.gitignore 6dc2f0a133 Added ZendFramework.gitignore. 14 éve
gcov.gitignore a9b0aadc98 .gitignore for gcov files 14 éve
nanoc.gitignore f52b40cfa4 Add gitignore for nanoc 14 éve
opencart.gitignore 1a95877a5e Opencart gitignore file 14 éve

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)

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.