Skip to content

Conversation

@gut
Copy link
Contributor

@gut gut commented Aug 22, 2015

Output on my machine:

$ git clone git://github.com/lisa-lab/DeepLearningTutorials.git
Cloning into 'DeepLearningTutorials'...
fatal: unable to connect to github.com:
github.com[0: 192.30.252.128]: errno=Connection refused

However:

$ git clone https://github.com/lisa-lab/DeepLearningTutorials.git
Cloning into 'DeepLearningTutorials'...
remote: Counting objects: 3652, done.
remote: Total 3652 (delta 0), reused 0 (delta 0), pack-reused 3652
Receiving objects: 100% (3652/3652), 7.80 MiB | 1.77 MiB/s, done.
Resolving deltas: 100% (2161/2161), done.
Checking connectivity... done.

I just used the GitHub's clone URL (default protocol is https)

gut added 2 commits August 22, 2015 10:45
Output on my machine:

$ git clone git://github.com/lisa-lab/DeepLearningTutorials.git
Cloning into 'DeepLearningTutorials'...
fatal: unable to connect to github.com:
github.com[0: 192.30.252.128]: errno=Connection refused

However:

$ git clone https://github.com/lisa-lab/DeepLearningTutorials.git
Cloning into 'DeepLearningTutorials'...
remote: Counting objects: 3652, done.
remote: Total 3652 (delta 0), reused 0 (delta 0), pack-reused 3652
Receiving objects: 100% (3652/3652), 7.80 MiB | 1.77 MiB/s, done.
Resolving deltas: 100% (2161/2161), done.
Checking connectivity... done.

I just used the GitHub's clone URL (default protocol is https)
@lamblin
Copy link
Member

lamblin commented Aug 24, 2015

Right, I think that the git protocol requires that you have the SSH key uploaded in your GitHub profile to work, whereas https is more permissive for checkouts.

lamblin added a commit that referenced this pull request Aug 24, 2015
Fix protocol usage for cloning GitHub's repository
@lamblin lamblin merged commit c5d2aaf into lisa-lab:master Aug 24, 2015
taneishi pushed a commit to taneishi/DBN that referenced this pull request Nov 28, 2019
Fix protocol usage for cloning GitHub's repository
taneishi pushed a commit to taneishi/DBN that referenced this pull request Feb 13, 2020
Fix protocol usage for cloning GitHub's repository

Former-commit-id: 2ebe2c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants