B
B
BoShurik2012-07-06 21:44:36
symfony
BoShurik, 2012-07-06 21:44:36

Disable cloning of git repositories when initializing a project with composer?

I was interested in composer, but a question arose.
Installing Symfony 2 using it

php composer.phar create-project symfony/framework-standard-edition path/<br>

Everything installs without problems, but system .git files are added. Is there an option to disable repositories cloning so that I can add this project to svn for example?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey, 2012-07-06
@BoShurik

On a good note, the entire contents of the vendors folder should be ignored, in the same way you can ignore the .git directory in the project roots.

V
Vyacheslav Slinko, 2012-07-07
@KeepYourMind

php composer.phar create-project symfony/framework-standard-edition cd framework-standard-edition rm -r .git

V
Vyacheslav Slinko, 2012-07-07
@KeepYourMind

php composer.phar create-project symfony/framework-standard-edition
cd framework-standard-edition
rm -r .git

K
karser, 2012-08-18
@karser

habrahabr.ru/post/149319/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question