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?
Re: question re tags
On Fri, 2013-03-08 at 15:16 +0000, John Stean wrote:
Show 5 quoted lines
> 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