执行命令:
git ls-remote -h -t git://github.com/adobe-webplatform/eve.git
报错如下:
fatal: unable to connect to github.com:
github.com[0: 20.205.243.166]: errno=No such file or directory
解决方法(修改git为https) :
git config --global url."https://".insteadOf git://
重新运行发现正常了:
$ git ls-remote -h -t git://github.com/adobe-webplatform/eve.git 30c41dfb9de9679ea4fba10f192cc08cf7142b02 refs/heads/master b3c08c703f70c2be21d84d1532329b4503bde11c refs/tags/v.0.1.2 c7f2321db25ecca396682b58513bad0b6465db94 refs/tags/v0.1.1 1d81ce1e40ffde989332c196ab7f62ed4ea17fca refs/tags/v0.2.0 bb2dbc54b0bd3be9cbc28054ca0c4e92c6142152 refs/tags/v0.2.1 c65288a0000ea8e9037cf701018b460288e3b5e8 refs/tags/v0.2.2 5853a9ec94aefd397ab5b6e800459029baec265a refs/tags/v0.2.3 defdfcca6fb43ea46e33ae2bbb208a71c6b233a6 refs/tags/v0.2.4 6ca82a7cdec132c8fc4203eff95f9949ccd3bc4b refs/tags/v0.5.1 236632512cc4fe239f994374f2c711a8709c71fb refs/tags/v0.5.1^{} 418f34eec761443cce1a6f02974c6f5acc2e3d7a refs/tags/v0.5.2 54ae09d450618c4825d1d726d47ff581bdfb5b1f refs/tags/v0.5.2^{} 15dc35ec2da4307ed94f6d530616a8f0d67079eb refs/tags/v0.5.3 d7008f901868beb1a2e1b1d7bca438e152b7bbd6 refs/tags/v0.5.3^{} f45c9737084df0a2d458864512b4638739e0eeb2 refs/tags/v0.5.4 30c41dfb9de9679ea4fba10f192cc08cf7142b02 refs/tags/v0.5.4^{}