git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Proper way to checkout a tag?
@ 2010-12-01 19:38 Dun Peal
  2010-12-01 19:51 ` Jonathan Nieder
  0 siblings, 1 reply; 4+ messages in thread
From: Dun Peal @ 2010-12-01 19:38 UTC (permalink / raw)
  To: Git ML

Hi. We tag our releases with names like "release-0", "release-1" and
so forth. Tags (lightweight ones) seem like the perfect markers for
these releases since we want a reference that can't ever change (as
opposed to a head).

The problem is that since there's no head pointing to each release, if
our users just:

$ git checkout release-1

When they want to build that release, they get into a detached HEAD
state. I've always construed detached HEAD as a non-standard state,
and it doesn't seem proper to reach it regularly in the course of a
standard operation like checking out past releases.

It's particularly confusing for our users who are new to Git.

Any thoughts, or alternative methods to do this?

Thanks, D

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-02  8:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-01 19:38 Proper way to checkout a tag? Dun Peal
2010-12-01 19:51 ` Jonathan Nieder
2010-12-01 20:16   ` Dun Peal
2010-12-02  8:33     ` Michael J Gruber

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).