Pull updates with git after cloned with --depth 1

前端 未结 2 1868
旧时难觅i
旧时难觅i 2020-12-24 00:45

This morning I made a shallow clone of the Linux sources

git clone --depth 1 https://github.com/torvalds/linux.git

which resulted in a

2条回答
  •  情深已故
    2020-12-24 01:34

    Could any of the new commits be merge-commits pointing to commits not present in your tree? Perhaps --depth 1000 would work better and still be small enough.

提交回复
热议问题