您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Chris Wanstrath e106726a3c Merge pull request #150 from philippbosch/master 13 年前
Global Merge pull request #153 from ovargas27/master 13 年前
Actionscript.gitignore Update to the Actionscript ignore file to put the .settings reference as a directory 13 年前
Android.gitignore Updated Generated Files location (*R was kind of dangerous), added local.properties 13 年前
Autotools.gitignore Removed empty line from Autotools.gitignore 13 年前
C++.gitignore Fixed comments in C++.gitignore 13 年前
CFWheels.gitignore add cfwheels gitignore 13 年前
CMake.gitignore Added a .gitignore for files auto-generated by the CMake build-system. 13 年前
CSharp.gitignore Removed CSharp independent ignores, which are already in the globals VisualStudio.gitignore & Windows.gitignore. 13 年前
CakePHP.gitignore Don't ignore empty files meant to preserve the file structure of an application within a git repository for later deployment 13 年前
CodeIgniter.gitignore Changes to support CodeIgniter (Reactor) 2.0 13 年前
Compass.gitignore Ignore .sass-cache directory in Compass projects. 13 年前
Concrete5.gitignore Added Concrete5 CMS .gitignore file 13 年前
Coq.gitignore add Coq gitignore 13 年前
Django.gitignore Added .pyc to Django.gitignore 13 年前
Drupal.gitignore Added more rules to work as non core drupal developer 13 年前
Erlang.gitignore Added erlang gitignore 13 年前
ExpressionEngine.gitignore Added ExpressionEngine gitignore file. 13 年前
ForceDotCom.gitignore Initial commit, Force.com gitignore file. 13 年前
Go.gitignore Added Go.gitignore 13 年前
Grails.gitignore Added common .gitignore for the Grails framework 13 年前
Haskell.gitignore Haskell.gitignore: ignore files produced by c2hs 13 年前
Java.gitignore Added OSX icons, moved bin/** from Java to Eclipse, added *.class to Java 13 年前
Jboss.gitignore Jboss gitignore file 13 年前
Jython.gitignore Jython ignores 13 年前
Kohana.gitignore Kohana-PHP gitignore 13 年前
LaTeX.gitignore Added LaTeX temp files for List of Tables (*.lot files). 13 年前
LemonStand.gitignore Add LemonStand gitignore. 13 年前
Lilypond.gitignore Add ignore file for lilypond. 13 年前
Lithium.gitignore Adding Lithium ignores. 13 年前
Magento.gitignore update Magento.gitignore to work with Magento 1.6 13 年前
Maven.gitignore Added Maven gitignore 13 年前
Node.gitignore [minor] Update Node.gitignore for npm 1.0 13 年前
OCaml.gitignore Add OCaml gitignore 13 年前
Objective-C.gitignore Fixed comment in Objective-C.gitignore 13 年前
Perl.gitignore added .build - used by Dist::Zilla 13 年前
PlayFramework.gitignore Ignoring precompiled directory 13 年前
Python.gitignore Update Python.gitignore with some commonly used patterns for buildout-based projects 13 年前
Qooxdoo.gitignore Add gitignore for qooxdoo apps 13 年前
README.md Fix readme about config setting 13 年前
Rails.gitignore added pickle generated files 13 年前
RhodesRhomobile.gitignore Add Rhodes mobile application framework gitignore 13 年前
Ruby.gitignore Keep entries sorted to make it easier to lookup for a specific item or spot duplicates. 13 年前
Scala.gitignore Added scala gitignore 13 年前
SeamGen.gitignore Added ignore patterns for projects generated using seam-gen 13 年前
Symfony.gitignore Add ignore for Base classes from Doctrine and Propel ORM. 13 年前
Symfony2.gitignore Symfony2 gitignore 13 年前
Tasm.gitignore Add Tasm.gitignore 13 年前
TurboGears2.gitignore Add for TurboGears2 (based off of Python template) 13 年前
VB.Net.gitignore Added a VB.Net gitignore 13 年前
Waf.gitignore added Waf.gitignore 13 年前
Wordpress.gitignore Added system files to Wordpress.gitignore 13 年前
Yii.gitignore Adding Yii ignores 13 年前
ZendFramework.gitignore Added ZendFramework.gitignore. 13 年前
gcov.gitignore .gitignore for gcov files 13 年前
opencart.gitignore Opencart gitignore file 13 年前

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.