what *precisely* means "--depth" WRT a shallow clone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  i can see the standard use of "--depth" when set to precisely one,
for CI/CD systems that don't need any history. but what does it mean
to say, eg, "--depth 10"?

  the man page explains that as "a history truncated to the specified
number of commits", but what does mean in the sense of branching and
merging? will i get *precisely* 10 commits of history? and in the
context of merging, *which* 10 commits?

  sorry if this should be obvious.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux