Git tag

From UVOO Tech Wiki
Revision as of 17:05, 31 January 2024 by Busk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Tag

git tag -a v6.0.3 -m "Agent2 v6.0.3"
git push origin v6.0.3

Delete

git tag -d v0.1.0

list

git tag -l

Checkout tag

git checkout tags/<tag> -b <branch>

All steps example

git checkout tags/v0.1.0 -b patch-v0.1.0
edit file.txt
git add file.txt
git commit -m "update file.txt"
git tag -a v0.1.1 -m "Update version"
git push origin v0.1.1