(Apologies for any git-newbie misnomers in this problem statement.)
I have a project where we've been using tags on the master branch to
designate official releases.
I belatedly noticed a commit that is included in one of those tagged
releases that contains an error. Since that time, however, a number of new
commits have been added to the master branch.
Is there some way to cleanly add my new commit to fix the latent problem
such that it is now included in the original tagged release without any of
the newer commits being added to that tag?
Perhaps a text "picture will help...
master branch ======== A ==== B === C === D
|
\_ Tag-rel2
|
Tag-rel1
Tag-rel1 was created when only commits A and B existed. I have now
belatedly discovered that commit A introduced an error. In the meanwhile,
development continued, and commits C and D have been merged into the master
branch, and a second release Tag-rel2 was created. Is there some way to
belatedly fix commit A such that Tag-rel1 now represents what I wanted in
the first place?
Thanks in advance for any light you can shed.
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.