
Skip editing a commit message when amending a commit in git
When amending a git commit, your EDITOR
will pop up allowing you to edit your commit message. In some cases (such as a frequent code-compile-test loop) this is not desirable. To bypass editing the commit message, add the --no-edit
flag to the end of your commit command.
$ git commit --amend --no-edit