Skip to content

Conversation

monteiz
Copy link

@monteiz monteiz commented Jul 2, 2025

The gittutorial.adoc section explains how tag names can be used anywhere a commit reference is accepted. While the first two examples demonstrated this with the tag v2.5, the third one used HEAD^, which does not involve the tag and may confuse readers.

This commit replaces HEAD^ with v2.5 in the third example, so that all three commands consistently demonstrate how a tag can be used as a commit reference.

This improves clarity and better aligns with the intent of the section.

The gittutorial.adoc section explains how tag names can be used
anywhere a commit reference is accepted. While the first two examples
demonstrated this with the tag `v2.5`, the third one used `HEAD^`,
which does not involve the tag and may confuse readers.

This commit replaces `HEAD^` with `v2.5` in the third example, so that
all three commands consistently demonstrate how a tag can be used as
a commit reference.

This improves clarity and better aligns with the intent of the section.

Signed-off-by: Luca Fagioli <monteiz@gmail.com>
Signed-off-by: monteiz <monteiz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant