Ok, this one is a little complicated and most probably is very specific. Let me try to explain.
Lets say I pull this git repo into my local drive. Then make a number of changes. As these changes are in many different files and are aimed for different goals, the commits are more then one. Lets say the commit from these changes are with hash value ab001 to ab005
(five commits). And then I create the series of patches and send to the community for review.
Meanwhile, lets suppose I realize that the master repo has been changed quit a bit, so I need to rebase. I do that, solving all the conflicts. Now this would result in another commit, lets say ab006
.
All is good.
But next day I get comments and advices on the previous patch (one with those 5 commits). So, I now have to make some changes according to those comments, and send a v2
(version 2) of the older patch (i.e. 5 commits). So I have to uncommit those 5 commits, make changes and commit again and create another patch (with those 5 commits).
How will I go about doing this, I cannot uncommit, since there is a rebase commit in the HEAD
. I am really confused about this.