I have merged with other branch, and there are few c开发者_C百科ommits after merge, before pushing i want to change the message of the merge. git rebase -i is not displaying the merge commit.
Not sure if there is a more elegant version, but what you can do is the following:
git checkout <sha of merge>
git commit --amend # edit message
git rebase HEAD previous_branch
精彩评论