您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Chris Wanstrath e60b29b6bb Adding Emacs backup, and Vi swap ignores to Global/ 13 年前
Global Adding Emacs backup, and Vi swap ignores to Global/ 13 年前
Actionscript.gitignore Update to the Actionscript ignore file to put the .settings reference as a directory 13 年前
Android.gitignore add basic Android gitignore 13 年前
Autotools.gitignore to ignore autotools generated files 13 年前
C++.gitignore add basic gitignore for C++ 13 年前
CMake.gitignore Added a .gitignore for files auto-generated by the CMake build-system. 13 年前
CSharp.gitignore Adding C# ignores 13 年前
CakePHP.gitignore added CakePHP gitignore 13 年前
Django.gitignore Adding Emacs backup, and Vi swap ignores to Global/ 13 年前
Erlang.gitignore Added erlang gitignore 13 年前
Jython.gitignore Jython ignores 13 年前
Kohana.gitignore Kohana-PHP gitignore 13 年前
LaTeX.gitignore (La)TeX, BibTeX, latexmk, etc 13 年前
Lithium.gitignore Adding Lithium ignores. 13 年前
Magento.gitignore Added Magento gitignore 13 年前
Node.gitignore adding Node.js ignores 13 年前
Objective-C.gitignore Support defaulting user-specific Xcode project settings. 13 年前
Python.gitignore Add exclusions for setup.py behaviors 13 年前
README.md Adding documentation on global ignores 13 年前
Rails.gitignore Ignore .orig files for Rails 13 年前
Ruby.gitignore Adding Emacs backup, and Vi swap ignores to Global/ 13 年前
Scala.gitignore Added scala gitignore 13 年前
Symfony.gitignore ignore propel properties 13 年前
TurboGears2.gitignore Add for TurboGears2 (based off of Python template) 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.