When I found some bugs in my project,I created a hotfix branch:
git flow hotfix start fixSomeBug
When I did some changes and commits,I wanted to merge these commits to master,so I typed
git flow hotfix finish fixSomeBug
Next I needed to write three messages:
Write a message for merging to master
Write a message for tag: fixSomeBug
Write a message for merging to develop
That was fine,but I didn't want to create a tag named fixSomeBug automatically.
So what can I do to stop it?
This ensures that any fixes made to the release after the initial branching make it back into development. The Gitflow release branch is made from the develop branch and gets merged into both master and develop when finished.
Gitflow can be used for projects that have a scheduled release cycle and for the DevOps best practice of continuous delivery. This workflow doesn't add any new concepts or commands beyond what's required for the Feature Branch Workflow.
The literal answer to the question in your subject line—Are git tags merged? —is "no", but that's not an interesting answer, because neither are branch names. Merges, in Git, work through commits.
Git flow is a popular Git branching strategy aimed at simplifying release management, and was introduced by software developer Vincent Driessen in 2010. Fundamentally, Git flow involves isolating your work into different types of Git branches.
You can use the -n operator. From the docs
-n don't tag this release
So the command will be like this
git flow hotfix finish -n fixSomeBug
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With