Answers for "add tag on commit git"

1

how to push tag for a commit

git tag "tag_name" "commit_hash" # fill tag_name and commit_hash
git push --tags # to push created tag
Posted by: Guest on April-04-2021
3

git tag a previous commit

git tag -a v1.2 9fceb02 -m "Message here"
Posted by: Guest on June-11-2020
0

how to Add new commit to the existing Git tag

# Create a new branch from tag v1.1
git checkout -b newbranch v1.1

# Do some work and commit it

# Create a new tag from your work
git tag -a -m "Tag version 1.1.1, a bugfix release" v1.1.1
Posted by: Guest on December-17-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language