Git Tags
Page content
With Tags, we have the possibility to “Tag” a certain Point as important. Just give it a release Number (v0.1, v0.2, v1.0) or whatever you like.
list tags
list all tags for a certain repo
git tag
add Tag
when you’re fine with a version, add a tag …
git tag -a v1.0 -m "my Version 1.0"
push Tags
you have to push the Tags separatly. they do not get pushed with the common “git push” command
git push --tags
checkout Tag
switch to a certain version like this
git checkout v1.1
delete Tag
delete a tag if not needed anymore
git tag -d v1.0
delete Tag Remote
and finally delete a tag remote …
git push --delete origin v1.0
Any Comments ?
sha256: 9a16a5c58a5e582d4fbfe97eb94e19d55d474c9b55b602e76e1851eb8adedf5f