From: Junio C Hamano <gitster@pobox.com>
To: "Jon Smirl" <jonsmirl@gmail.com>
Cc: "Git Mailing List" <git@vger.kernel.org>
Subject: Re: syntax for checking out specific tag on a remote
Date: Sat, 11 Aug 2007 18:41:30 -0700 [thread overview]
Message-ID: <7v1we9leb9.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <9e4733910708111833r6588557al1876bd6aaae38204@mail.gmail.com> (Jon Smirl's message of "Sat, 11 Aug 2007 21:33:02 -0400")
"Jon Smirl" <jonsmirl@gmail.com> writes:
> What's the syntax for checking out a specific tag on a remote?
This depends on where you stored the tags you obtained from the
remote. By default, "git fetch --tags" would store the tags in
a flat namespace; there is no "remote tag" namespace.
Hence you would say:
git checkout v2.6.19
to get a detached HEAD at v2.6.19, or if you want to start a
branch from there,
git checkout -b my19 v2.6.19
next prev parent reply other threads:[~2007-08-12 1:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-12 1:33 syntax for checking out specific tag on a remote Jon Smirl
2007-08-12 1:41 ` Junio C Hamano [this message]
2007-08-12 1:50 ` Jon Smirl
2007-08-12 1:57 ` Jon Smirl
2007-08-12 2:01 ` Junio C Hamano
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=7v1we9leb9.fsf@assigned-by-dhcp.cox.net \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=jonsmirl@gmail.com \
/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