I have a question regarding the rebase step in the hotfix workflow ("rebase master to production"):
Would this not cause problems, if the master branch contains commits that are not yet released to the production branch? For example, if since the last release (=update of production), a new feature was finished and merged to master, and then a hotfix on production is needed.
As far as I understand it, this would rewrite the commits on master, causing conflicts for everyone who checked out the master branch with the new feature or created a new feature branch based on the master branch.
I have a question regarding the rebase step in the hotfix workflow ("rebase master to production"):
Would this not cause problems, if the master branch contains commits that are not yet released to the production branch? For example, if since the last release (=update of production), a new feature was finished and merged to master, and then a hotfix on production is needed.
As far as I understand it, this would rewrite the commits on master, causing conflicts for everyone who checked out the master branch with the new feature or created a new feature branch based on the master branch.