Shell/Bash: git push tags Example

By

Shell/Bash Example: This is the "git push tags" Example. compiled from many sources on the internet by SimpleTutorials.org

git push tags

#from git 1.8.3 you can use
git push --follow-tags
#single tag push
git push origin 
#All tags (if possible use --follow-tags 'cause it's safer)
git push --tags

git create tag and push

git tag -a v1.4 -m "my version 1.4"

git add tag

git tag -a v1.2 
git push origin v1.2

create a tag from a commit/branch

git tag -a version.number -m "Tag Message"
git push origin 

git create tag and push

$ git push origin v1.4
Counting objects: 14, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (14/14), 2.05 KiB | 0 bytes/s, done.
Total 14 (delta 3), reused 0 (delta 0)
To [email protected]:atlasbro/gittagdocs.git
* [new tag] v1.4 -> v1.4

git create tag and push

git tag 



* Summary: This "git push tags" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others