How do I merge a git tag onto a branch
Solution 1:
You mean this?
git checkout destination_branch
git merge tag_name
Solution 2:
Remember before you merge you need to update the tag, it's quite different from branches (git pull origin tag_name
won't update your local tags). Thus, you need the following command:
git fetch --tags origin
Then you can perform git merge tag_name
to merge the tag onto a branch.