contents/grimoire/create-git-tag.md
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
----- id: create-git-tag title: "Create and push a git tag" subtitle: "Need to remember this for Sourcehut and similar..." content-type: spell ----- So... [Github.com](https://github.com) has releases, and therefore typically tags get created automatically when you publish a new release. [Sourcehut](https://sr.ht) instead doesn't have all that fancy stuff so... how do you create (and push) a git tag? Simple enough: ```bash git tag my-tag master git push origin tag my-tag ``` |