How to abort ‘git commit –amend’? December 24, 2022 by Tarik That is correct. Saving the file with no contents will abort the amend.