When the tag
command is executed, Git performs the following steps:
- Gets the SHA-1 ID of the referred commit.
- Validates the given tag name with the existing tag names.
- If it's a new name, it validates the name with the naming conventions.
- If the name abides by the rules, a tag object gets created with the given name mapped to the acquired SHA-1 ID, which is found inside
.git/refs/tags/
.
The following figure shows the association of the tag object along with other objects:
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.