git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question re tags
@ 2013-03-08 15:16 John Stean
  2013-03-08 16:30 ` Carlos Martín Nieto
  0 siblings, 1 reply; 2+ messages in thread
From: John Stean @ 2013-03-08 15:16 UTC (permalink / raw)
  To: git

Ive been tagging some commits using tortoise git , for example with "v1.0", "v1.1" etc. In tortoise git log the tag sits alongside the commit as I expect.
But when I do a git describe it outputs the first tag along with the latest commit. What am I doing wrong?

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

* Re: question re tags
  2013-03-08 15:16 question re tags John Stean
@ 2013-03-08 16:30 ` Carlos Martín Nieto
  0 siblings, 0 replies; 2+ messages in thread
From: Carlos Martín Nieto @ 2013-03-08 16:30 UTC (permalink / raw)
  To: John Stean; +Cc: git

On Fri, 2013-03-08 at 15:16 +0000, John Stean wrote:
> Ive been tagging some commits using tortoise git , for example with
> "v1.0", "v1.1" etc. In tortoise git log the tag sits alongside the
> commit as I expect.
> But when I do a git describe it outputs the first tag along with the
> latest commit. What am I doing wrong?

Those tags are probably lightweight tags, so by default git-describe
doesn't take them into account. You can pass the --tags flag to tell it
to consider lightweight tags as well.


   cmn

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

end of thread, other threads:[~2013-03-08 16:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-08 15:16 question re tags John Stean
2013-03-08 16:30 ` Carlos Martín Nieto

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