J'ai repo privé sur la cachette et l'accès avec la clé SSH. J'ai configuré le nom d'hôte, le port, le fichier ssh (_rsa) sur .ssh/config file
. Plus tard, j'exécute la commande git clone ssh://[email protected]
sur le terminal. Ça marche. Quand je lance des commandes composer update vendor/repo:dev-master
sur le terminal, cette commande a échoué et donne l'erreur suivante:compositeur git clone --mirror a échoué
Repository not found
The requested repository does not exist, or you do not have permission to access it.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Je résolus problème en changeant url dans composer.json. La solution est 'git + ssh: // git @ stash' – ihvan