mirror of
https://gitlab.gnome.org/julianschacher/top-bar-organizer.git
synced 2025-10-27 15:19:09 +00:00
Docs: Add documentation on how to create a new tag
This commit is contained in:
parent
e45d438d61
commit
65304a9894
22
docs/Creating_a_New_Tag.md
Normal file
22
docs/Creating_a_New_Tag.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Creating a New Tag
|
||||||
|
|
||||||
|
To create a new tag, do the following:
|
||||||
|
|
||||||
|
1. Fill out `git_annotated_tag_template`.
|
||||||
|
2. Run the following command:
|
||||||
|
|
||||||
|
```
|
||||||
|
git tag -a -F git_annotated_tag_template -s --cleanup=verbatim <tagname> [<commit>]
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Restore `git_annotated_tag_template` to its original state:
|
||||||
|
|
||||||
|
```
|
||||||
|
git restore git_annotated_tag_template
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Push the new tag.
|
||||||
|
|
||||||
|
```
|
||||||
|
git push --tags
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user