Read the statement by Michael Teeuw here.
Purpose of Depth=1
-
I’ve loaded a few 3rd party modules and was just curious as to why one of them has
--Depth=1git the initial git clone line. I’ve done plenty of that process with sensors for Pi computers outside of the MM arena and have never seen that before. What is it doing and why is it used. -
@ankonaskiff17 The
--depth=1means the following. Git shallow clone lets you pull down just the latest commits, not the entire repo history. So if your project has years of history, or history from thousands of commits, you can select a particular depth to pull.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login