16 March 2018 | 1 min read

Slow speed on git clone

Previously, on my last project, I have huge of git repository, I find that the fetch speed can be extremely slow (KB/s).The workaround is to fetch only the latest revision first and then fetch the rest:

$ git clone --depth=1 git@github.com:RobbiNespu/pitabytes.git
$ cd pitabytes
$ git fetch --unshallow

You also can try to use higher compression

$ git config --global core.compression 9

If you still have the problem, you need to retired early and go back to you hometown.

Robbi Nespu | Git, Linux, Windows

Discussion and feedback