.gitignore文件大全

Jeff Bolduan e8b2e1a9cc Added support for MonoDevelop .gitignore пре 14 година
Global e8b2e1a9cc Added support for MonoDevelop .gitignore пре 14 година
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 697559b09c Removed CSharp independent ignores, which are already in the globals VisualStudio.gitignore & Windows.gitignore. пре 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 година
CodeIgniter.gitignore 75c65b9ef7 Fix typo in CodeIgniter gitignore пре 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 8152623b1e Added erlang gitignore пре 14 година
ExpressionEngine.gitignore 550ef6f668 Added ExpressionEngine gitignore file. пре 14 година
Go.gitignore 3d54ffb5fd Added Go.gitignore пре 14 година
Grails.gitignore 43b75915e7 Added common .gitignore for the Grails framework пре 14 година
Haskell.gitignore 3400caaeeb Haskell.gitignore: ignore files produced by c2hs пре 14 година
Java.gitignore 0ae4801e31 Added OSX icons, moved bin/** from Java to Eclipse, added *.class to Java пре 14 година
Jboss.gitignore cd93fbcade Jboss gitignore file пре 14 година
Jython.gitignore 2ce6478f7b Jython ignores пре 14 година
Kohana.gitignore a3a9c380b9 Kohana-PHP gitignore пре 14 година
LaTeX.gitignore 9845e47dfa Added LaTeX temp files for List of Tables (*.lot files). пре 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 64e23e74a6 Added Magento gitignore пре 14 година
Maven.gitignore 0a41318dba Added Maven gitignore пре 14 година
Node.gitignore 330290971a Removing .DS_Store; specific to OS X, and redundant with Global/OSX пре 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 8fd1095933 added pickle generated files пре 14 година
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 8db8a470ea Added scala gitignore пре 14 година
SeamGen.gitignore 474d62d8dd Added ignore patterns for projects generated using seam-gen пре 14 година
Symfony.gitignore 8b99c7a245 Add ignore for Base classes from Doctrine and Propel ORM. пре 14 година
Symfony2.gitignore d4fb0f1cd0 Symfony2 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 5efa76d5c3 Added system files to Wordpress.gitignore пре 14 година
Yii.gitignore 3970297265 Adding Yii ignores пре 14 година
ZendFramework.gitignore 6dc2f0a133 Added ZendFramework.gitignore. пре 14 година
gcov.gitignore a9b0aadc98 .gitignore for gcov files пре 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.