M
M
Miku Hatsune2015-12-10 13:18:50
symfony
Miku Hatsune, 2015-12-10 13:18:50

Does composer know how to clean "garbage"?

I wanted to play around with symfony, and at the same time use the composer for the first time. Everything is installed, but a lot of garbage remains:
- Tests
- Redmi
- License Deleting
essentially unnecessary files with your hands (they are not needed?) Somehow tiring ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor, 2015-12-10
@Hatsune-Miku

When you create a new project, for example based on symfony/framework-standard-edition, using the create-project command , this is equivalent to doing git clone + installing packages from composer.json, then git metadata is removed.
Hence all the "garbage".
Initialize a new git repository, add only the necessary files and commit them. And remove the "garbage" git clean -f.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question