S
S
Snewer2017-02-01 20:49:28
PHP
Snewer, 2017-02-01 20:49:28

Why upload composer.lock to git?

Hello!
In many projects, I notice the absence of a composer.lock file in .gitignore. Why post it?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergej, 2017-02-01
@Snewer

For package version control.
If you run composer install, then the versions specified in composer.lock will be installed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question