-
Checkout the tag (a Detached HEAD)
git checkout tag/v1.1
-
Create and Checkout a branch off that tag (i.e. Branching off the tag)
git checkout -b my-tagged-branch
*** do work and commit changes ***
-
Push to the remote branch.
git push -u origin my-tagged-branch
If needed merge branch into other branches that need the change (in case of a bug fix for example) -
While still on my-tagged-branch, Delete the tag
git tag -d v1.1
-
Create the tag again: This will "move" the tag to point to your latest commit on that branch
git tag v1.1
-
Delete the tag on remote
git push origin :v1.1
-
Create the tag on remote
git push origin v1.1
- Change remote orgin
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git