Docs: versions plural, and update == rm lock&install
parent
4ccf5b6535
commit
78565d00b9
|
@ -147,8 +147,9 @@ still working even if your dependencies released many new versions since then.
|
||||||
As mentioned above, the `composer.lock` file prevents you from automatically getting
|
As mentioned above, the `composer.lock` file prevents you from automatically getting
|
||||||
the latest versions of your dependencies. To update to the latest versions, use the
|
the latest versions of your dependencies. To update to the latest versions, use the
|
||||||
[`update`](03-cli.md#update) command. This will fetch the latest matching
|
[`update`](03-cli.md#update) command. This will fetch the latest matching
|
||||||
versions (according to your `composer.json` file) and also update the lock file
|
versions (according to your `composer.json` file) and update the lock file
|
||||||
with the new version. (This is equivalent to simply deleting the `composer.lock` file.)
|
with the new versions. (This is equivalent to deleting the `composer.lock` file
|
||||||
|
and running `install` again.)
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
php composer.phar update
|
php composer.phar update
|
||||||
|
|
Loading…
Reference in New Issue