all repos — h3rald @ ef8ea49dcfec8a18935e68b0a07ad882a57af38d

The sources of https://h3rald.com

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
```