Home > Q&A > body text
What are the parameters of git clonedepth=1 used for?
depth=1
git clone --depth=1 git://someserver/somerepo
世界只因有你2017-05-02 09:46:30
depth is used to specify the cloning depth. If it is 1, it means only clone the latest commit.