Git: removing selected commits from repository
- by xk0der
I would like to remove selected commits from a linear commit tree, so that the commits do not show in the commit log.
My commit tree looks something like:
R--A--B--C--D--E--HEAD
I would like to remove the B and C commits. So that they do not show in the commit log, but changes from A to D should be preserved. Maybe by introducing a single…