This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the git category.
Last Updated: 2024-12-03
Find the first tag containing a particular commit: git tag --contains b03f575999883fd819523359914bea21dd5ba946 | head
How to create a tag git tag X
. Note that it can clash with branch names. Therefore it can be a good idea to prefix with vX
as a namespace protection