I have a hotfix which I would like to submit for peer review.
I am using git-flow http://nvie.com/posts/a-successful-git-branching-model/
git-flow doesn't appear to have a git flow hotfix publish
command.
How I am tackling this is as follows:
local
git flow hotfix start v1.0.1
make changes to files, git add and git commit as normal.
git push
remote
Ask a team member to pull / review the hotfix branch
local
git flow hotfix finish
git push origin master
git push origin develop
git push --tags
remote
delete the hotfix branch
This seems a bit clunky. What I want is to be able to submit a pull request for the hotfix branch to both the develop and master branch on remote. I then want to be able to do a git pull on my local master and develop branches to keep them in sync.