A collection of useful .gitignore templates
fef6ee31cb
* upstream/master: These should go into other gitignores, like Vim.gitignore Added Wordpress (Forgot to 'git add .') Added Vim >= 7.3 persistent undo files Added few files to OSX.gitignore Conflicts: Global/OSX.gitignore |
||
---|---|---|
Global | ||
Actionscript.gitignore | ||
Android.gitignore | ||
Autotools.gitignore | ||
C++.gitignore | ||
CakePHP.gitignore | ||
CMake.gitignore | ||
CodeIgniter.gitignore | ||
Concrete5.gitignore | ||
CSharp.gitignore | ||
Django.gitignore | ||
Erlang.gitignore | ||
ExpressionEngine.gitignore | ||
Go.gitignore | ||
Grails.gitignore | ||
Haskell.gitignore | ||
Java.gitignore | ||
Jython.gitignore | ||
Kohana.gitignore | ||
LaTeX.gitignore | ||
Lithium.gitignore | ||
Magento.gitignore | ||
Maven.gitignore | ||
Node.gitignore | ||
Objective-C.gitignore | ||
Perl.gitignore | ||
PlayFramework.gitignore | ||
Python.gitignore | ||
Rails.gitignore | ||
README.md | ||
RhodesRhomobile.gitignore | ||
Ruby.gitignore | ||
Scala.gitignore | ||
Symfony.gitignore | ||
TurboGears2.gitignore | ||
Wordpress.gitignore |
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.