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

Re: Shouldn't git fetch also fetch the tags?

From
Kevin Ballard <kevin@sb.org>
Date
Sep 21, 2010, 01:03 UTC
Message-ID
<4A6D7554-6CDD-4A92-9E90-27CF555A44CF@sb.org>
In-Reply-To
<AANLkTinb=g=Y=s9AqPtLEOqMxPJVqFxRa_2cB4=iNZ4k@mail.gmail.com>
`git fetch` will fetch any tags that are reachable from any refs that were fetched. It will not fetch tags that are not otherwise reachable. `git fetch --tags` explicitly instructs git fetch to fetch all tags.
-Kevin Ballard
On Sep 20, 2010, at 4:00 PM, Felipe Contreras wrote:
Show 16 quoted lines
> Hi,
> 
> Usually when I do 'git fetch' the tags are fetched too, however, there
> is one repo:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.35.y
> 
> Where it doesn't happen, and I manually have to 'git fetch --tags'.
> 
> What's going on?
> 
> -- 
> Felipe Contreras
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Felipe Contreras
Message 2 of 2 in “Shouldn't git fetch also fetch the tags?”
  1. Felipe ContrerasSep 20, 2010
  2. Kevin BallardSep 21, 2010

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.