If I have a public Git repository that contains 3 branches like the following:
(release-to-customerA) | U (master) / | A
where commit "B" was the original release version, and commit "U" resolved some errors in "B". I want to apply the āUā commit to the master and release-to-customerB branches, and the next time I put the new version to clients based on commit 'D', 'E', ... 'T', I want to enable commit ' U '. What is the cleanest way to do this?
I know that git rebase or git cherry-pick can do the trick in my local repository, but can I ruin the story when I submit the recovered work to the public repository?
Thanks for answers.
source share