From: Mathias Lafeldt <misfire@debugon.org>
To: Rico Secada <coolzone@it.dk>
Cc: git@vger.kernel.org
Subject: Re: Git pull doesn't get the tags
Date: Fri, 22 Oct 2010 11:04:32 +0200 [thread overview]
Message-ID: <4CC153A0.7080605@debugon.org> (raw)
In-Reply-To: <20101022053747.a5427cad.coolzone@it.dk>
On 10/22/2010 05:37 AM, Rico Secada wrote:
> 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
next prev parent reply other threads:[~2010-10-22 9:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-22 3:37 Git pull doesn't get the tags Rico Secada
2010-10-22 9:04 ` Mathias Lafeldt [this message]
2010-10-22 12:23 ` Rico Secada
2010-10-22 22:25 ` Junio C Hamano
2010-10-23 16:34 ` Rico Secada
2010-10-22 21:33 ` Junio C Hamano
2010-11-03 20:55 ` [PATCH] pull: Remove --tags option from manpage Jens Lehmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CC153A0.7080605@debugon.org \
--to=misfire@debugon.org \
--cc=coolzone@it.dk \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).