I want to create a single tag for multiple commits(merged branches).
Can we group multiple commits to a single tag , please help me on this.
A tag, like a branch, can only point to at most one commit.
In order to create a Git tag for a specific commit, use the “git tag” command with the tag name and the commit SHA for the tag to be created. If you want to create an annotated tag for a specific commit, you can use the “-a” and “-m” options we described in the previous section.
From the main menu, choose Git | New Tag. In the Tag dialog that opens, under Git Root, select the path to the local repository in which you want to tag a commit, and specify the name of the new tag. In the Commit field, specify the commit that you want to tag.
What you are trying to do is not possible. A tag, like a branch, can only point to at most one commit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With