git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3 3/4] gitfaq: shallow cloning a repository

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 21, 2020, 20:57 UTC
Message-ID
<xmqq1rogmu9e.fsf@gitster.c.googlers.com>
In-Reply-To
<011001d6181d$97301fc0$c5905f40$@nexbridge.com>
"Randall S. Becker" <rsbecker@nexbridge.com> writes:
Show 6 quoted lines
>> I have a feeling that --depth/shallow is deprecated/frowned upon these
> days
>> and more people recommend partial/blob-less clones instead (a few random
>> people added to Cc: to see if they want to say something here).
>
> I rather hate to chime in as a dissenting opinion,...

Oh, don't hate anything. It is greatly appreciated so that we can cover "in such and such use case, this solution is good" variants for similarly-sounding-but-fundamentally-different classes of problems. We do not want to give a spinal-reflex answer of "use shallow" (or "use partial", for that matter) to "too large a repo" question without contexts that guide the readers to a better choice.

That is where a well-organized FAQ list shines.
Thanks.
Previous: Randall S. BeckerNext: Randall S. Becker
Message 10 of 15 in “gitfaq: add issues in the 'Common Issues' section”
  1. 0/4 gitfaq: add issues in the 'Common Issues' sectionShourya Shukla, Apr 21, 2020
  2. 1/4 gitfaq: files in .gitignore are trackedShourya Shukla, Apr 21, 2020
  3. Junio C HamanoApr 21, 2020
  4. 2/4 gitfaq: changing the remote of a repositoryShourya Shukla, Apr 21, 2020
  5. Junio C HamanoApr 21, 2020
  6. Shourya ShuklaApr 27, 2020
  7. 3/4 gitfaq: shallow cloning a repositoryShourya Shukla, Apr 21, 2020
  8. Junio C HamanoApr 21, 2020
  9. Randall S. BeckerApr 21, 2020
  10. Junio C HamanoApr 21, 2020
  11. Randall S. BeckerApr 21, 2020
  12. Derrick StoleeApr 22, 2020
  13. Jonathan NiederApr 22, 2020
  14. Elijah NewrenApr 22, 2020
  15. 4/4 gitfaq: fetching and pulling a repositoryShourya Shukla, Apr 21, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.