title: Amending message of bunch of commits at once
body: <p>My team has started to use gerrit and set up new repo for it, copied from the old one. It is now a couple of commits behind of what old one was. I merged all the commits locally, however I cannot push them, because gerrit requires every commit to have change-id in message footer something like:</p>
  
  <pre><code>Change-Id: e448fed026e072f547ac0f6f9b144f8aeb8a9847
  </code></pre>
  
  <p>Is there some quick way to append such a footer to commit message of X last commits?</p>