How to force Composer to use https:// instead of git://?

前端 未结 2 1916
执笔经年
执笔经年 2020-12-24 09:04

I have something like this

\"repositories\": [
    {
        \"type\": \"package\",
        \"package\": {
            \"name\": \"myrepo\",
            \"ve         


        
2条回答
  •  攒了一身酷
    2020-12-24 09:57

    You can change the protocol used for github with this command:

    composer config --global github-protocols https
    

    Then re-installing vendors should do what you want.

提交回复
热议问题