Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Slow speed on git clone

📅 2016-Jan-12 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

Sometimes when I have to clone a huge repository from Github, I find that the fetch speed can be extremely slow (KB/s).

There are two tricks I try for a quick cloning:

$ git clone --depth=1 git@github.com:joe/hello-world.git
$ cd hello-world
$ git fetch --unshallow

Tried with: Git 1.9.1 and Ubuntu 14.04