Git Clone is too slow

alvin picture alvin · Apr 2, 2013 · Viewed 33.7k times · Source

This is my first time to construct the git server. When I use TortoiseGit-1.8.1.0-32bit to handle the operation, everything is fine!

But if i use the git clone command or git bash, the git clone process speed is so slow. I've attached two images showing the relative git clone transfer speeds below.

Can anybody give me some suggestions?

Cloning via TortoiseGit

Cloning via git command

Answer

hzwzw picture hzwzw · Sep 21, 2016

Maybe you can fetch only the latest revision first and then fetch the rest:

$ git clone --depth=1 [email protected]:joe/hello-world.git
$ cd hello-world
$ git fetch --unshallow

Thanks this article!