1

I have a fast-forwarded repo history with branches, representing server upgrade states.

branch2
|
commit4
|
commit3
|
branch1
|
commit2
|
commit1
|
initial commit

If I rebase from commit1 to reword the commit2 message, then after rebase I will have the following history:

branch2
|
commit4
|
commit3
|
|              branch1
|              |
|              commit2_reworded
|              |
|              commit1
|             /
|           /
|         /
|       /
|     / 
initial commit

How to reword a commit message, which is several fast-forwarded branches earlier, while keeping the straight history line?

Can not reconnect back branch1 to commit3 as it was originally?

klor
  • 1,237
  • 4
  • 12
  • 37

0 Answers0