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

Re: Tags auto fetched by "git fetch origin" but not "git fetch origin main"

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 29, 2024, 21:44 UTC
Message-ID
<xmqqy14ft36l.fsf@gitster.g>
In-Reply-To
<ZtDo--AY43-bPTHG@tapette.crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
> If you want tags nonetheless, you can use the `--tags` option, which
> should fetch tags in addition to the refspec provided.

But doesn't that grab _all_ tags, not only the relevant tags that point into the history leading to the commits being fetched?

Previous: brian m. carlsonNext: brian m. carlson
Message 3 of 6 in “Tags auto fetched by "git fetch origin" but not "git fetch origin main"”
  1. Yukai ChouAug 28, 2024
  2. brian m. carlsonAug 29, 2024
  3. Junio C HamanoAug 29, 2024
  4. brian m. carlsonAug 29, 2024
  5. Junio C HamanoAug 29, 2024
  6. Yukai ChouAug 29, 2024

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.