B
B
BonBon Slick2019-02-27 21:45:59
Composer
BonBon Slick, 2019-02-27 21:45:59

Require custom branch not working?

https://getcomposer.org/doc/articles/versions.md#b...
My composer.json

"require": {
        "test/package": "dev-my-feature-branch",

composer lock
"packages": [
        {
            "name": "test/package",
            "version": "dev-my-feature-branch",
            "source": {
                "type": "git",
                "url": "[email protected]:php-packages/package.git",
                "reference": "йцуфавыварывар"
            },
            "require": {

There is a package repository, I made some changes to the package and pushed it to the my-feature-branch custom branch , now we need to install the changes in the project to complete the task.
But the composer puts the master branch instead of the branch with my edits. The repository is naturally the same, just a different branch.
Why does composer put master instead of branch feature?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-02-27
@BonBonSlick

https://stackoverflow.com/questions/19916183/how-d... something like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question