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

git clone tag shallow

From
Thibault Kruse <tibokruse@googlemail.com>
Date
Feb 17, 2013, 19:13 UTC
Message-ID
<CAByu6UWEF48XvTmRnVDb2Bqxy1dNdUSXpTuy804215Vgs_KJxw@mail.gmail.com>
Hi all,

I notice that using git 1.8.3, I can call git clone repo1 repo2 --branch tagname with a tag, not a branch. Is this going to be a stable and documented feature?

cheers,
  Thibault
Next: Duy Nguyen
Message 1 of 6 in “git clone tag shallow”
  1. Thibault KruseFeb 17, 2013
  2. Duy NguyenFeb 18, 2013
  3. Thibault KruseFeb 18, 2013
  4. Junio C HamanoFeb 18, 2013
  5. Thibault KruseFeb 18, 2013
  6. Junio C HamanoFeb 18, 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.