title: How to abort 'git commit --amend'?
body: <p>I accidentally used <code>git commit --amend</code>. My text editor is open and waiting for input. I know, that when I close it now (not changing the existing commit message) the commit will be amended. What can I do to abort the process? </p>
  
  <p><a href="https://romanofskiat.wordpress.com/2014/02/12/abort-a-git-commit-amend/" rel="noreferrer">This blog article</a> says that I can simply delete the commit message and the commit will then not be valid and ignored. Is that correct? Are there alternatives?</p>