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

Re: cannot clone --single-commit instead of --single-branch

From
Mike Hommey <mh@glandium.org>
Date
Aug 2, 2019, 03:07 UTC
Message-ID
<20190802030740.fr2kkpom5bvknksk@glandium.org>
In-Reply-To
<20190802024322.GC54514@google.com>
On Thu, Aug 01, 2019 at 07:43:22PM -0700, Jonathan Nieder wrote:
Show 11 quoted lines
> Hi,
> 
> Bryan Turner wrote:
> 
> > Promisor remotes and other in-flight changes might help provide some
> > of what you're looking for, but I'm not aware of any already-available
> > solution.
> 
> You can do
> 
> 	git clone --no-checkout --filter=blob:none $url repo
TIL. Why doesn't --filter appear in the git-clone manual page?
Mike
Previous: Jonathan NiederNext: Jonathan Nieder
Message 4 of 5 in “cannot clone --single-commit instead of --single-branch”
  1. Alexander MillsAug 1, 2019
  2. Bryan TurnerAug 1, 2019
  3. Jonathan NiederAug 2, 2019
  4. Mike HommeyAug 2, 2019
  5. Jonathan NiederAug 2, 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.