8/14/2023 0 Comments Git tag showHere we go! We have tagged the commit successfully. m is the flag to tell that the sentence that is followed is the commit message. Note: " -a" denotes the annotated tags, which in layman terms means tags that are specific and not generalized. To list out the commits, let's execute the git log -oneline command once again. How To Tag Specific Commit In Git?įor tagging a specific commit, we will make use of the hash code of that particular commit. Now you can check yourself by executing git log -oneline command that the tag creation is successful.Īlthough this command will tag the last commit on the branch dev, you can also tag with a specific commit in Git.Note: A commit to dev branch will not reflect in any other branch. Let's tag the last commit on the dev branch by executing the following command:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |