Answers for "how to add a version tag in git"

7

git add tag

git tag -a v1.2 
git push origin v1.2
Posted by: Guest on June-02-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