title: How to remove Change-Id from git commit by command
body: <p>When I cherry-pick a patch from Gerrit and push it again to different branch on same server, the server reply error message:</p>
  
  <pre><code>Total 0 (delta 0), reused 0 (delta 0)
  remote: Processing changes: refs: 1, done
  To ssh://xxxxxx.git
   ! [remote rejected] HEAD -&gt; refs/for/xxxx (no new changes)
  error: failed to push some refs to 'ssh://xxxxxx.git'
  </code></pre>
  
  <p>Using <code>git commit --amend</code> to remove <code>Change-Id</code> line can fix this problem.</p>
  
  <p>I want to write a script to do it automatically. Is there any command/parameter to achieve same result?</p>