.gitignore文件大全

Jay Anderson f14c958ecf Add ignore file for lilypond. il y a 14 ans
Global 718b97feec Ignore files generated by Etags and Ctags il y a 14 ans
Actionscript.gitignore 787f39eaec Update to the Actionscript ignore file to put the .settings reference as a directory il y a 14 ans
Android.gitignore 1bb483835a add basic Android gitignore il y a 14 ans
Autotools.gitignore a573f2a5eb to ignore autotools generated files il y a 14 ans
C++.gitignore 605476c528 Fixed comments in C++.gitignore il y a 14 ans
CMake.gitignore 900d322dd9 Added a .gitignore for files auto-generated by the CMake build-system. il y a 14 ans
CSharp.gitignore 31198dd999 c# projects: ignore user specific files, testresults and windows picture index files il y a 14 ans
CakePHP.gitignore fd30555204 Don't ignore empty files meant to preserve the file structure of an application within a git repository for later deployment il y a 14 ans
CodeIgniter.gitignore 75c65b9ef7 Fix typo in CodeIgniter gitignore il y a 14 ans
Concrete5.gitignore 73790aa732 Added Concrete5 CMS .gitignore file il y a 14 ans
Coq.gitignore 2483494fc2 add Coq gitignore il y a 14 ans
Django.gitignore 42d3cf083f Updating Django gitignore for various reasons il y a 14 ans
Drupal.gitignore d9cd9ebe1e Added to Drupal.gitignore il y a 14 ans
Erlang.gitignore 8152623b1e Added erlang gitignore il y a 14 ans
ExpressionEngine.gitignore 550ef6f668 Added ExpressionEngine gitignore file. il y a 14 ans
Go.gitignore 3d54ffb5fd Added Go.gitignore il y a 14 ans
Grails.gitignore 43b75915e7 Added common .gitignore for the Grails framework il y a 14 ans
Haskell.gitignore b2bbec62d0 Add Haskell gitignore il y a 14 ans
Java.gitignore 0ae4801e31 Added OSX icons, moved bin/** from Java to Eclipse, added *.class to Java il y a 14 ans
Jboss.gitignore cd93fbcade Jboss gitignore file il y a 14 ans
Jython.gitignore 2ce6478f7b Jython ignores il y a 14 ans
Kohana.gitignore a3a9c380b9 Kohana-PHP gitignore il y a 14 ans
LaTeX.gitignore 6fe128f7a4 Added patterns for LaTeX Beamer il y a 14 ans
LemonStand.gitignore 2ed7b7ab6a Add LemonStand gitignore. il y a 14 ans
Lilypond.gitignore f14c958ecf Add ignore file for lilypond. il y a 14 ans
Lithium.gitignore 537b947855 Adding Lithium ignores. il y a 14 ans
Magento.gitignore 64e23e74a6 Added Magento gitignore il y a 14 ans
Maven.gitignore 0a41318dba Added Maven gitignore il y a 14 ans
Node.gitignore 330290971a Removing .DS_Store; specific to OS X, and redundant with Global/OSX il y a 14 ans
OCaml.gitignore ac5192cada Add OCaml gitignore il y a 14 ans
Objective-C.gitignore e58baf9625 Fixed comment in Objective-C.gitignore il y a 14 ans
Perl.gitignore 978fdbf0cc Add gitignore for Perl projects il y a 14 ans
PlayFramework.gitignore 4fad2f82de added play framework gitignore il y a 14 ans
Python.gitignore ef299335e6 Added buildout directories and the configuration data files. il y a 14 ans
README.md fe0a884ba7 Fix readme about config setting il y a 14 ans
Rails.gitignore 83a92c8e7f added rerun and config ignores il y a 14 ans
RhodesRhomobile.gitignore b2788d6ed2 Add Rhodes mobile application framework gitignore il y a 14 ans
Ruby.gitignore 73a214881d Removing .DS_Store; specific to OS X, and redundant with Global/OSX il y a 14 ans
Scala.gitignore 8db8a470ea Added scala gitignore il y a 14 ans
SeamGen.gitignore 474d62d8dd Added ignore patterns for projects generated using seam-gen il y a 14 ans
Symfony.gitignore 8b99c7a245 Add ignore for Base classes from Doctrine and Propel ORM. il y a 14 ans
TurboGears2.gitignore 340ddd1fb4 Add for TurboGears2 (based off of Python template) il y a 14 ans
VB.Net.gitignore d436e43245 Added a VB.Net gitignore il y a 14 ans
Waf.gitignore 9abdee41a6 added Waf.gitignore il y a 14 ans
Wordpress.gitignore 8b9230baed Add in rules for WP Super Cache, Google XML Sitemaps, and WP-DBManager plugins. il y a 14 ans

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.