在composer.json中:
...
"require": {
...
"some/bundle": "^5.0",
},
"repositories": [{
"type": "git",
"url": "git@github.com:some/bundle"
}],
...
我可以执行some/bundle": "dev-branch"
以获取分支版本,但我不想这样做。
我不想改变"require"
的版本号,我只想使用dev-branch。
I can do:
"repositories": [{
"type": "git",
"url": "git@github.com:some/bundle",
"branch": "dev-branch"
}],
但是不工作
我该怎么做呢?谢谢。
这是不可能的。(可能将来)