I have the following commits and I need to update the middle commit with the branch name.
...
...
9a3de7d [#US810469]Add configuration
807fed0 Merge branch 'master' of github.xx.com:org/repo
6153e1e [#US810469] fix typo
I realized when I git rebase -i
it doesn't show the merge commits, I learned why here [Merge commits don't appear in git rebase --interactive
In the interactive shell, I saw it says if you remove a line you'll lose the commit. I thought maybe I can add a commit to the place I want :) but that didn't work. It keeps showing me the to-do items to edit. I try to edit them and commit again, but it fails everytime.
How can I change the middle commit's message to "[#US810469]Merge branch 'master' of github.xx.com:org/repo"?