Skip to content

docs: use v2.5 consistently in tag usage examples #2009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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