This hook is called after the
pre-commit hook to populate the text editor with a commit message. This is typically used to alter the automatically generated commit messages for squashed or merged commits.
One to three arguments are passed to this hook:
--amendoption was given.
pre-commit, exiting with a non-zero status aborts the commit.