Git tag

When the tag command is executed, Git performs the following steps:

  1. Gets the SHA-1 ID of the referred commit.
  2. Validates the given tag name with the existing tag names.
  3. If it's a new name, it validates the name with the naming conventions.
  4. 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:

Git tag
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.69.143