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

Re: Git pull doesn't get the tags

From
Mathias Lafeldt <misfire@debugon.org>
Date
Oct 22, 2010, 09:04 UTC
Message-ID
<4CC153A0.7080605@debugon.org>
In-Reply-To
<20101022053747.a5427cad.coolzone@it.dk>
On 10/22/2010 05:37 AM, Rico Secada wrote:
Show 15 quoted lines
> Hi.
> 
> I am working on a repo on my desktop and I got a clone on my laptop.
> I needed to pull the new stuff from my desktop unto my laptop, and I
> noticed that tags doesn't get pulled.
> 
> The laptop access the desktop using NFS and I am using "git pull
> NFS_SOURCE".
> 
> The repos are identical except that a few files has been updated and a
> new tag has been added.
> 
> Why doesn't pull get the tag?
> 
> Best regards.
Try git pull --tags.
>From git-pull's manpage:
-t
--tags
        Most of the tags are fetched automatically as branch
        heads are downloaded, but tags that do not point at
        objects reachable from the branch heads that are being
        tracked will not be fetched by this mechanism.  This
        flag lets all tags and their associated objects be
        downloaded. [...]
-Mathias
Previous: Rico SecadaNext: Rico Secada
Message 2 of 7 in “Git pull doesn't get the tags”
  1. Rico SecadaOct 22, 2010
  2. Mathias LafeldtOct 22, 2010
  3. Rico SecadaOct 22, 2010
  4. Junio C HamanoOct 22, 2010
  5. Rico SecadaOct 23, 2010
  6. Junio C HamanoOct 22, 2010
  7. pull: Remove --tags option from manpageJens Lehmann, Nov 3, 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.