From: Rico Secada <coolzone@it.dk>
To: git@vger.kernel.org
Subject: Re: Git pull doesn't get the tags
Date: Fri, 22 Oct 2010 14:23:08 +0200 [thread overview]
Message-ID: <20101022142308.f275aefe.coolzone@it.dk> (raw)
In-Reply-To: <4CC153A0.7080605@debugon.org>
On Fri, 22 Oct 2010 11:04:32 +0200
Mathias Lafeldt <misfire@debugon.org> wrote:
I managed to overlook the info from the man page, sorry.
But what does "but tags that do not point at objects reachable from the
branch heads that are being tracked will not be fetched by this
mechanism" mean?
When is an object not reachable from the branch head? In the repo only
the master branch exist, and one repo is cloned from the other.
> 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
> --
> 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
next prev parent reply other threads:[~2010-10-22 12:25 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
2010-10-22 12:23 ` Rico Secada [this message]
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=20101022142308.f275aefe.coolzone@it.dk \
--to=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).