.gitignore文件大全

Chris Wanstrath 85d179675a Merge pull request #225 from frankel/master 13 年之前
Global 74b5ce5612 Merge pull request #183 from x3ro/master 13 年之前
Actionscript.gitignore 787f39eaec Update to the Actionscript ignore file to put the .settings reference as a directory 14 年之前
Android.gitignore 599a7fc761 Updated Generated Files location (*R was kind of dangerous), added local.properties 14 年之前
Autotools.gitignore fb8ad2e87b Removed empty line from Autotools.gitignore 14 年之前
C++.gitignore 605476c528 Fixed comments in C++.gitignore 14 年之前
CFWheels.gitignore 765dd834aa add cfwheels gitignore 14 年之前
CMake.gitignore 900d322dd9 Added a .gitignore for files auto-generated by the CMake build-system. 14 年之前
CSharp.gitignore 266c134a9e ReSharper is a add-in which works in Visual Studio only. It's already in the VisualStudio gitignore file. 14 年之前
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 年之前
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 73790aa732 Added Concrete5 CMS .gitignore file 14 年之前
Coq.gitignore 2483494fc2 add Coq gitignore 14 年之前
Django.gitignore 6039d18e27 Added .pyc to Django.gitignore 14 年之前
Drupal.gitignore 2710fbfff5 Added more rules to work as non core drupal developer 14 年之前
Erlang.gitignore a226f5106b Added *.plt used by dialyzer 14 年之前
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 年之前
Go.gitignore 3d54ffb5fd Added Go.gitignore 14 年之前
Grails.gitignore 43b75915e7 Added common .gitignore for the Grails framework 14 年之前
Haskell.gitignore 95a7ec0704 Added cabal-dev dir. 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 年之前
LaTeX.gitignore 453624ec27 Merge pull request #180 from DigitalGuru/master 13 年之前
Leiningen.gitignore 8b8ff44ec7 Add .gitignore for Leiningen projects 14 年之前
LemonStand.gitignore 2ed7b7ab6a Add LemonStand gitignore. 14 年之前
Lilypond.gitignore f14c958ecf Add ignore file for lilypond. 14 年之前
Lithium.gitignore 537b947855 Adding Lithium ignores. 14 年之前
Magento.gitignore 179edfabae update Magento.gitignore to work with Magento 1.6 14 年之前
Maven.gitignore 0a41318dba Added Maven gitignore 14 年之前
Node.gitignore aa8f00968f [minor] Update Node.gitignore for npm 1.0 14 年之前
OCaml.gitignore ac5192cada Add OCaml gitignore 14 年之前
Objective-C.gitignore e58baf9625 Fixed comment in Objective-C.gitignore 14 年之前
Perl.gitignore a449bebd78 added .build - used by Dist::Zilla 14 年之前
PlayFramework.gitignore 9c8fab9fcd Ignoring precompiled directory 14 年之前
Python.gitignore e1f0a713c4 Update Python.gitignore with some commonly used patterns for buildout-based projects 14 年之前
Qooxdoo.gitignore d5850d466f Add gitignore for qooxdoo apps 14 年之前
README.md fe0a884ba7 Fix readme about config setting 14 年之前
Rails.gitignore 171709e8e8 config/*.yml should not be ignored in Rails 13 年之前
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 年之前
SeamGen.gitignore 474d62d8dd Added ignore patterns for projects generated using seam-gen 14 年之前
SugarCRM.gitignore 3e939a59d9 Sometime the emails folder starts with an uppercase letter. 13 年之前
Symfony.gitignore 2b4e8c8986 Added plugin-generated model paths to symfony-1 ignore file. 13 年之前
Symfony2.gitignore 4c9fba7b1e Updated through http://www.deanoj.co.uk/programming/git/git-ignore-file-for-symfony2/ 13 年之前
SymphonyCMS.gitignore 4c904e00b7 Adding Symphony CMS gitignore 14 年之前
Tasm.gitignore a0b3a59a30 Add Tasm.gitignore 14 年之前
TurboGears2.gitignore 340ddd1fb4 Add for TurboGears2 (based off of Python template) 14 年之前
VB.Net.gitignore d436e43245 Added a VB.Net gitignore 14 年之前
Waf.gitignore 9abdee41a6 added Waf.gitignore 14 年之前
Wordpress.gitignore 20a14b702d Merge pull request #179 from willmot/master 13 年之前
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 1a95877a5e Opencart gitignore file 14 年之前

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.