Currently I'm using Git flow.
On the branch develop
I run this command:
$ git flow hotfix start ID20208
All ok, so far.
Then, I do my changes and I run git add
and git commit
.
Next, I run git push
and I receive this alert:
fatal: The current branch hotfix/ID20208 has no upstream branch. To push the current branch and set the remote as upstream, use
git push --set-upstream origin hotfix/ID20208
My question is: are these the correct steps to push a hotfix to the server?