ssh: connect to host github.com port 22: Connection timed out

前端 未结 17 2393
陌清茗
陌清茗 2020-12-04 05:25

I am under a proxy and I am pushing in to git successfully for quite a while.
Now I am not able to push into git all of a sudden.
I have set the RSA key and the prox

17条回答
  •  时光取名叫无心
    2020-12-04 05:27

    Basic URL Rewriting

    Git provides a way to rewrite URLs using git config. Simply issue the following command:

    git config --global url."https://".insteadOf git://
    

    Now, as if by magic, all git commands will perform a substitution of git:// to https://

    source: git:// protocol blocked by company, how can I get around that?

提交回复
热议问题