{"thread":{"id":"52067","subject":"what *precisely* means \"--depth\" WRT a shallow clone?","startedAt":"2019-10-18T10:06:00Z","lastAt":"2019-10-18T10:06:00Z","messageCount":1,"participants":["Robert P. J. Day"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"384371","messageId":"alpine.LFD.2.21.1910180544160.5751@localhost.localdomain","threadId":"52067","inReplyTo":null,"subject":"what *precisely* means \"--depth\" WRT a shallow clone?","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2019-10-18T09:48:55Z","receivedAt":"2019-10-18T10:06:00Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"\n  i can see the standard use of \"--depth\" when set to precisely one,\nfor CI/CD systems that don't need any history. but what does it mean\nto say, eg, \"--depth 10\"?\n\n  the man page explains that as \"a history truncated to the specified\nnumber of commits\", but what does mean in the sense of branching and\nmerging? will i get *precisely* 10 commits of history? and in the\ncontext of merging, *which* 10 commits?\n\n  sorry if this should be obvious.\n\nrday\n\n-- \n\n========================================================================\nRobert P. J. Day                                 Ottawa, Ontario, CANADA\n                         http://crashcourse.ca\n\nTwitter:                                       http://twitter.com/rpjday\nLinkedIn:                               http://ca.linkedin.com/in/rpjday\n========================================================================\n"}]}