A
A
Alexander Drek2019-05-28 15:59:55
git
Alexander Drek, 2019-05-28 15:59:55

How to update your composer package stored in git?

I have a project. The project is stored in gitLab and works on different sites.
Also, a library from a closed repository is connected to the project through composer.
composer.json

"require-dev": {
        "project/name": "*",
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "[email protected]###.ru:project/name.git"
        }
    ],

The problem is the following, I update this library via composer update on one of the sites and successfully push the changes to the server, on the other site I do git pull && composer update and the library code does not update. composer says there are no changes.
What to do?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question