Fix for "Operation timed out" seen when running 'git submodule init'+'git submodule update' #216

Merged
merged 1 commit into from Feb 4, 2012

Conversation

Projects
None yet
3 participants
Contributor

clozach commented Feb 3, 2012

Fix for issue where submodules fail to download from behind certain corporate firewalls by changing url protocol from 'git' to 'https'. See http://stackoverflow.com/questions/3140715/why-does-git-push-fails-with-operation-timed-out.

Contributor

clozach commented Feb 3, 2012

For what it's worth, a little history on the problem here. I've been testing all the awesome work you guys have been doing while I disappeared from the face of the earth, and found myself stalled at 'git submodule add git://github.com/ShareKit/ShareKit.git Submodules/ShareKit'. The above stackoverflow answer, which solved that problem, but then I hit the same thing at 'git submodule init/update'.

If there's a good reason to prefer 'git' to 'https', please post it here. Otherwise, merge this pull request, at which point I'll also update the instructions to use the 'https' url.

Contributor

scompt commented Feb 4, 2012

Makes sense to me. I can't think of a reason those need to be git:// references. +1

@VilemKurz VilemKurz added a commit that referenced this pull request Feb 4, 2012

@VilemKurz VilemKurz Merge pull request #216 from clozach/master
Fix for "Operation timed out" seen when running 'git submodule init'+'git submodule update'
ac6acba

@VilemKurz VilemKurz merged commit ac6acba into ShareKit:master Feb 4, 2012

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