Very slow download from GitHub

Do you have massive binaries committed in the repos? That might do it.

Otherwise, look at optimizing your CI's behavior. Instead of:

git submodule update [--recursive]

You want:

git submodule update [--recursive] --depth 1

CI doesn't need the whole repo history, just the target state. More details here: Git shallow submodules


I found a solution that worked very well for me.

Go to github and copy the link to the clipboard. Then open a web proxy website (https://www.proxysite.com worked for me). And paste the link (I tried with US1) - instead of downloading 670mb in 1+ hour at least, it took less than 2 minutes.

Works like a charm!!

Tags:

Git

Github