I’m having issues cloning the repository at https://github.com/sifive/freedom. The repository contains submodules and I try to clone the repository in the following way:
It just appears to hang after a certain point. I’m not sure if this happens because some of the submodules used by the freedom repository are not reachable anymore. Should I just run these commands and wait? Last time I tried it, it said just terminated (saying that github.com was not reachable). I’ve been stuck on this for a couple of days and searching online for answers has not helped. Thanks in advance.
I just tried it and it worked fine and took 5 minutes 15 seconds on a reasonably well-connected Xeon machine. Total size 3.6 GB. Could be the problem is in the internet at your end?
if it’s saying that github.com isn’t reachable, that’s probably a networking problem.
fwiw, i tried the commands given above and my version of git (2.7.4 on WSL) complained that it didn’t know about the option ‘–progress’. i tried it without and the command completed correctly (though it did take about an hour on an 2.6 GHz i5 w/ decent network connectivity.)
several times it appeared that git had hung, only to come back after about 5 minutes.
so the best advice I can give you is double-check you’re in a place w/ decent network connectivity and be patient while get checks out the repo.
Thank you all for the responses! I think this is a problem with the network settings of the machine I was working on. I was able to fix this by adding the following lines to ~/.gitconfig: