.gitignore文件大全

Sébastien Douche ef299335e6 Added buildout directories and the configuration data files. 14 năm trước cách đây
Global 66555ace19 Added archive extensions to Global 14 năm trước cách đây
Actionscript.gitignore 787f39eaec Update to the Actionscript ignore file to put the .settings reference as a directory 14 năm trước cách đây
Android.gitignore 1bb483835a add basic Android gitignore 14 năm trước cách đây
Autotools.gitignore a573f2a5eb to ignore autotools generated files 14 năm trước cách đây
C++.gitignore fbcdec436e add basic gitignore for C++ 14 năm trước cách đây
CMake.gitignore 900d322dd9 Added a .gitignore for files auto-generated by the CMake build-system. 14 năm trước cách đây
CSharp.gitignore acbcdb02e5 Removing redundant Visual Studio files; see Global/VisualStudio 14 năm trước cách đây
CakePHP.gitignore 1a70beeee3 added CakePHP gitignore 14 năm trước cách đây
CodeIgniter.gitignore 1aa8f64345 Improved CodeIgniter .gitignore to support an system directory in a different location to the default install. Fixed database.php ignore rule. The application directory can be moved to any location and the ignore will still operate 14 năm trước cách đây
Concrete5.gitignore 73790aa732 Added Concrete5 CMS .gitignore file 14 năm trước cách đây
Django.gitignore 42d3cf083f Updating Django gitignore for various reasons 14 năm trước cách đây
Erlang.gitignore 8152623b1e Added erlang gitignore 14 năm trước cách đây
Go.gitignore 3d54ffb5fd Added Go.gitignore 14 năm trước cách đây
Grails.gitignore 43b75915e7 Added common .gitignore for the Grails framework 14 năm trước cách đây
Java.gitignore 0ae4801e31 Added OSX icons, moved bin/** from Java to Eclipse, added *.class to Java 14 năm trước cách đây
Jython.gitignore 2ce6478f7b Jython ignores 14 năm trước cách đây
Kohana.gitignore a3a9c380b9 Kohana-PHP gitignore 14 năm trước cách đây
LaTeX.gitignore 70510605f6 (La)TeX, BibTeX, latexmk, etc 14 năm trước cách đây
Lithium.gitignore 537b947855 Adding Lithium ignores. 14 năm trước cách đây
Magento.gitignore 64e23e74a6 Added Magento gitignore 14 năm trước cách đây
Maven.gitignore 0a41318dba Added Maven gitignore 14 năm trước cách đây
Node.gitignore 330290971a Removing .DS_Store; specific to OS X, and redundant with Global/OSX 14 năm trước cách đây
Objective-C.gitignore 4f13b9342f Removing .DS_Store; specific to OS X, and redundant with Global/OSX 14 năm trước cách đây
Perl.gitignore 978fdbf0cc Add gitignore for Perl projects 14 năm trước cách đây
PlayFramework.gitignore 4fad2f82de added play framework gitignore 14 năm trước cách đây
Python.gitignore ef299335e6 Added buildout directories and the configuration data files. 14 năm trước cách đây
README.md fe0a884ba7 Fix readme about config setting 14 năm trước cách đây
Rails.gitignore 2f219bd07e Ignore .orig files for Rails 14 năm trước cách đây
RhodesRhomobile.gitignore b2788d6ed2 Add Rhodes mobile application framework gitignore 14 năm trước cách đây
Ruby.gitignore 73a214881d Removing .DS_Store; specific to OS X, and redundant with Global/OSX 14 năm trước cách đây
Scala.gitignore 8db8a470ea Added scala gitignore 14 năm trước cách đây
Symfony.gitignore 85b1901900 ignore propel properties 14 năm trước cách đây
TurboGears2.gitignore 340ddd1fb4 Add for TurboGears2 (based off of Python template) 14 năm trước cách đây

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.