I used to use a merge workflow and my current team works with a rebase workflow.
In it, features branches are forked from the master, then rebased with the master and then squash merged onto the master.
I would like to keep a branch for minor changes onto the master that I could easily fit in the feature branches, though, I am unsure about what is the solution that will bring me less problems:
I do not know if the first option will cause me any trouble, and I suspect that the 2nd one might duplicate commits in the final history.
Which is the best way to take care of this?
minor_changes
branch from master
.master
rebase minor_changes
branch on to master
. You could set it up to track the master
branch with git branch -u origin/master minor_changes
then simply run git pull --rebase
to keep it updated.minor_changes
branch.