I\'ve been using git for a while for my one-man developments, but I haven\'t run into any tricky branching issues until now and I seem to have forgotten something fundamental th
The right way in this case would be to:
As mentionned in this thread, that would:
ensures master doesn't regress with respect to an older branch. (Do not use merge unless you want to merge all changes from one branch to another, rather than just the single commit you mention.)