Git Clone is too slow

后端 未结 3 1374
囚心锁ツ
囚心锁ツ 2021-01-31 05:42

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

3条回答
  •  囚心锁ツ
    2021-01-31 05:52

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

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

    Thanks this article!

提交回复
热议问题