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

Fwd: git clone combined with --depth, --branch and --single-branch

From
Thibault Kruse <tibokruse@googlemail.com>
Date
Feb 17, 2013, 19:10 UTC
Message-ID
<CAByu6UV+M76tcHPR4NqotiU=Fag-=sQFxyTOu3evhw+nRxQGhA@mail.gmail.com>
In-Reply-To
<CAByu6UVR7k-d8PkqhHBG-A1zTCETemjhch0OA7i6_56yBV_YyQ@mail.gmail.com>
Actually, using git 1.8.3, I get:

git clone repo1 repo2 --depth 1 warning: --depth is ignored in local clones; use file:// instead. ...

So I guess the warning says it all, it helps to read it.
Previous: Thibault Kruse
Message 4 of 4 in “git clone combined with --depth, --branch and --single-branch”
  1. Thibault KruseFeb 17, 2013
  2. Duy NguyenFeb 17, 2013
  3. Thibault KruseFeb 17, 2013
  4. Fwd: git clone combined with --depth, --branch and --single-branchThibault Kruse, Feb 17, 2013

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.