Oskar Calvo
Oskar Calvo

Reputation: 615

can be configure Composer to use http instead git clone git@

We are using some private repositories with satis, and first try to download the code with git clone @git, and after two try it download it with git clone http://....

There is any way to configure composer to use with the private repositories git clone http by default?

Thanks.

Oskar

Upvotes: 2

Views: 881

Answers (1)

VonC
VonC

Reputation: 1325357

You could try, for testing:

git config --global url."https://github.com/".insteadOf [email protected]:
git config --global url."https://".insteadOf git://

That would ensure any system (like Composer) using git clone would use HTTPS URL instead of SSH ones.

Upvotes: 2

Related Questions