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

Re: "git clone --shallow-exclude ...", fatal: the remote end hung up unexpectedly

From
Duy Nguyen <pclouds@gmail.com>
Date
Mar 15, 2019, 13:41 UTC
Message-ID
<CACsJy8CspqxDhOZFF7ac_63TQXvsHjTBicEPtZaUSOmaQnzs4A@mail.gmail.com>
In-Reply-To
<alpine.LFD.2.21.1903150917360.27423@localhost.localdomain>
On Fri, Mar 15, 2019 at 8:19 PM Robert P. J. Day <rpjday@crashcourse.ca> wrote:
Show 7 quoted lines
>   this is the first time i've played with this feature, so i'm still
> working my way through the man page, trying to figure out the various
> valid combinations for shallow cloning.
>
>   i notice that the SYNOPSIS for "man git-clone" does not contain all
> of the supported options (eg., --shallow-exclude is missing, among
> others). is that deliberate?

No. It's either laziness or giving up on adding every option in the SYNOPSIS. Improvements are welcome. I can see now that --single-branch is mentioned in --depth (the original option to make a shallow clone) but not on the newer ones. My bad.

-- 
Duy
Previous: Robert P. J. DayNext: Robert P. J. Day
Message 4 of 7 in “"git clone --shallow-exclude ...", fatal: the remote end hung up unexpectedly”
  1. Robert P. J. DayMar 15, 2019
  2. Duy NguyenMar 15, 2019
  3. Robert P. J. DayMar 15, 2019
  4. Duy NguyenMar 15, 2019
  5. Robert P. J. DayMar 15, 2019
  6. Duy NguyenMar 16, 2019
  7. Robert P. J. DayMar 16, 2019

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.