how to Add new commit to the existing Git tag 1

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

Here is what the above code is Doing:
1. Create a new branch from tag v1.1
2. Do some work and commit it
3. Create a new tag from your work

Similar Posts