title: Amend the second to last commit
body: <p>If you found a bug in your last commit, you can simply recommit the last commit with</p>
  
  <pre><code>git commit --amend
  </code></pre>
  
  <p>But if you already committed another commit, how do you resubmit the commit before that one?</p>
  
  <hr>
  
  <p><strong>Note:</strong> I assume, you are aware, that you should only use <code>--amend</code> if you are sure no other developer already used your commit upstream</p>