Skip to content

Instantly share code, notes, and snippets.

@macrotea
Last active August 29, 2015 13:58
Show Gist options
  • Save macrotea/9972771 to your computer and use it in GitHub Desktop.
Save macrotea/9972771 to your computer and use it in GitHub Desktop.
git-clone不同协议结果不同

#git clone 不同协议结果不同#

D:>git --version

git version 1.8.5.2.msysgit.0

D:>git clone git://github.com/trix/nano.git

Cloning into 'nano'...

fatal: unable to connect to github.com:

github.com[0: 192.30.252.131]: errno=No error

出错

D:>git clone https://github.com/trix/nano.git

Cloning into 'nano'...

fetch option push check-connectivity

@refs/heads/master HEAD ..........

done.

成功

D:>why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment