mirror of
https://github.com/composer/composer
synced 2025-05-08 16:17:37 +00:00
Make it explicitly clear that dev-
shouldn't be in the actual branch name. (#10335)
This commit is contained in:
parent
a4a89f1508
commit
04dbed27a9
1 changed files with 3 additions and 2 deletions
|
@ -342,8 +342,9 @@ project to use the patched version. If the library is on GitHub (this is the
|
||||||
case most of the time), you can fork it there and push your changes to
|
case most of the time), you can fork it there and push your changes to
|
||||||
your fork. After that you update the project's `composer.json`. All you have
|
your fork. After that you update the project's `composer.json`. All you have
|
||||||
to do is add your fork as a repository and update the version constraint to
|
to do is add your fork as a repository and update the version constraint to
|
||||||
point to your custom branch. In `composer.json`, you should prefix your custom
|
point to your custom branch. In `composer.json` only, you should prefix your
|
||||||
branch name with `"dev-"`. For version constraint naming conventions see
|
custom branch name with `"dev-"` (without making it part of the actual branch
|
||||||
|
name). For version constraint naming conventions see
|
||||||
[Libraries](02-libraries.md) for more information.
|
[Libraries](02-libraries.md) for more information.
|
||||||
|
|
||||||
Example assuming you patched monolog to fix a bug in the `bugfix` branch:
|
Example assuming you patched monolog to fix a bug in the `bugfix` branch:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue