Merge pull request #1288 from igorw/clarify-branch-alias-use
Clarify that branch aliases must be done in the target repositorypull/1290/head
commit
a2c2652695
|
@ -41,8 +41,12 @@ must be a comparable dev version. The `branch-alias` must be present on the
|
||||||
branch that it references. For `dev-master`, you need to commit it on the
|
branch that it references. For `dev-master`, you need to commit it on the
|
||||||
`master` branch.
|
`master` branch.
|
||||||
|
|
||||||
As a result, you can now require `1.0.*` and it will happily install
|
As a result, anyone can now require `1.0.*` and it will happily install
|
||||||
`dev-master` for you.
|
`dev-master`.
|
||||||
|
|
||||||
|
In order to use branch aliasing, you must own the repository of the package
|
||||||
|
being aliased. If you want to alias a third party package without maintaining
|
||||||
|
a fork of it, use inline aliases as described below.
|
||||||
|
|
||||||
## Require inline alias
|
## Require inline alias
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue