title: Git: How to edit/reword a merge commit's message?
body: <p>How do I edit or reword a merge commit's message?</p>
  
  <p><code>git commit --amend</code> works if it's the last commit made (<code>HEAD</code>), but what if it comes before <code>HEAD</code>?</p>
  
  <p><code>git rebase -i HEAD~5</code> doesn't list the merge commits.</p>