.gitignore文件大全

Peat Bakke f44d9f5a80 Adding documentation on global ignores 14 лет назад
Global aa2a94d190 ignore vim swap files 14 лет назад
Actionscript.gitignore 787f39eaec Update to the Actionscript ignore file to put the .settings reference as a directory 14 лет назад
Android.gitignore 1bb483835a add basic Android gitignore 14 лет назад
Autotools.gitignore a573f2a5eb to ignore autotools generated files 14 лет назад
C++.gitignore fbcdec436e add basic gitignore for C++ 14 лет назад
CMake.gitignore 900d322dd9 Added a .gitignore for files auto-generated by the CMake build-system. 14 лет назад
CSharp.gitignore ab472108c5 Adding C# ignores 14 лет назад
CakePHP.gitignore 1a70beeee3 added CakePHP gitignore 14 лет назад
Django.gitignore 07b5d97c0a How on earth did I write *.po?! Those are the actual translation files! 14 лет назад
Erlang.gitignore 8152623b1e Added erlang gitignore 14 лет назад
Jython.gitignore 2ce6478f7b Jython ignores 14 лет назад
Kohana.gitignore a3a9c380b9 Kohana-PHP gitignore 14 лет назад
LaTeX.gitignore 70510605f6 (La)TeX, BibTeX, latexmk, etc 14 лет назад
Lithium.gitignore 537b947855 Adding Lithium ignores. 14 лет назад
Magento.gitignore 64e23e74a6 Added Magento gitignore 14 лет назад
Node.gitignore 4dc09001b5 adding Node.js ignores 14 лет назад
Objective-C.gitignore ea6e9227f8 Support defaulting user-specific Xcode project settings. 14 лет назад
Python.gitignore 80e0020b8c Add exclusions for setup.py behaviors 14 лет назад
README.md f44d9f5a80 Adding documentation on global ignores 14 лет назад
Rails.gitignore 2cd02577f2 rspec config file and capybara generated files 14 лет назад
Ruby.gitignore 4e020da938 Masking YARD build artifacts. 14 лет назад
Scala.gitignore 8db8a470ea Added scala gitignore 14 лет назад
Symfony.gitignore 85b1901900 ignore propel properties 14 лет назад
TurboGears2.gitignore 340ddd1fb4 Add for TurboGears2 (based off of Python template) 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.