What is the use of git clone parameter `depth=1`?
世界只因有你
世界只因有你 2017-05-02 09:44:30
0
1
776

What are the parameters of git clonedepth=1 used for?

git clone --depth=1 git://someserver/somerepo
世界只因有你
世界只因有你

reply all(1)
世界只因有你

depth is used to specify the cloning depth. If it is 1, it means only clone the latest commit.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template