Purpose of Depth=1
ankonaskiff17 last edited by
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.
means 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.