1
0
mirror of https://github.com/github/gitignore synced 2024-12-23 21:30:46 +01:00
Haralan Dobrev 3932f1f0ce Add Composer.gitignore for composer packages
Libraries/Projects using [Composer](http://getcomposer.org) for dependency management should include a `.gitignore` file like this.

It ignores the vendor folder which Composer uses for dependencies, classmaps and others. Composer keeps git repositories in this folder so it is cleaner if it is ignored.

[`composer.lock` should not be ignored.](http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file)

> Commit your application's composer.lock (along with composer.json) into version control.

> For your library you may commit the composer.lock file if you want to. This can help your team to always test against the same dependency versions. However, this lock file will not have any effect on other projects that depend on it. It only has an effect on the main project.
2013-11-09 13:38:32 +02:00
2012-04-20 10:12:43 +02:00
2011-02-21 18:02:55 -08:00
2012-12-22 22:49:43 -08:00
2010-11-22 17:42:32 -08:00
2012-10-26 17:58:35 -07:00
2012-03-08 20:45:16 +09:00
2012-07-15 18:53:32 +02:00
2012-08-15 01:43:20 +02:00
2011-08-17 00:55:26 -05:00
2011-02-01 06:03:02 +08:00
2010-11-10 03:43:58 +08:00
2012-01-12 16:37:34 -02:00
2011-02-21 17:56:28 -08:00
2011-08-02 21:36:51 +01:00
2011-05-01 18:11:31 +01:00
2010-11-09 04:49:58 +08:00
2010-11-09 04:49:25 +08:00
2012-10-11 16:59:14 -07:00
2013-05-25 23:56:08 -06:00
2012-03-16 18:49:26 -03:00
2010-11-09 16:08:50 +08:00
2011-05-29 21:24:34 -04:00
2012-11-08 14:07:25 +01:00
2010-11-23 09:36:53 +08:00
2012-03-03 02:08:17 +01:00
2012-08-01 10:56:28 +03:00
2012-04-20 14:22:30 -04:30
2012-06-09 16:36:58 +03:00
2011-10-08 09:23:47 +02:00
2012-07-31 11:57:21 +08:00
2011-02-21 18:03:04 -08:00
2012-03-24 23:22:27 +11:00
2010-11-22 17:54:05 -08:00
2011-02-21 18:08:03 -08:00

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)

Pull Requests

Since this repo includes a large and diverse number of programming languages, frameworks, editors, and ecosystems, it's very helpful if you can provide a link to information supporting your pull request. Up-to-date, canonical documentation that mentions the files to be ignored is best.

This ensures we can efficiently go through pull requests and keep quality high.

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.

Description
No description provided
Readme
Languages
Markdown 100%