12/7/2023 0 Comments Git tag and pushIn particular, if there exists a tag foo/bar and git tag -a foo ( man) is said then the command will only fail once it tries to write refs/tags/foo, which is after the file has been unlinked. The ref transaction can fail after the user has written their tag message. (Merged by Junio C Hamano - gitster - in commit 6d2a88c, ) tag: keep the message file in case ref transaction fails See commit 08c12ec, commit 669c11d, commit 719515f () by Kristoffer Haugsbakk ( LemmingAvalanche). That git tag message file would not exist for a lightweight tag. With Git 2.42 (Q3 2023), " git tag" ( man) learned to leave the "$GIT_DIR/TAG_EDITMSG" file when the command failed, so that the user can salvage what they typed. List only lightweight tags: How can I list all lightweight tags?Īnother difference is when git tag -a foo fails, because there is already a tag foo/bar, as explained here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |