[RuntimeException]
Failed to clone https://github.com/Pi-George/laminas-file.git via https, ssh protocols, aborting.
- https://github.com/Pi-George/laminas-file.git
Cloning into bare repository '/root/.cache/composer/vcs/https---github.com-Pi-George-laminas-file.git'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
- git@github.com:Pi-George/laminas-file.git
Cloning into bare repository '/root/.cache/composer/vcs/https---github.com-Pi-George-laminas-file.git'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Also worth noting, checkout is checking out a bitbucket repo, not a github repo.
This line in git clone shallow:
git config --global url."ssh://git@github.com".insteadOf "https://github.com" || true
Is causing composer install to fail with:
Also worth noting, checkout is checking out a bitbucket repo, not a github repo.