Commit-editmsg [TESTED]

Introduction to Commit Messages

git commit --no-verify -m "Hotfix for production"

Fix login timeout on slow networks

Good body example:

COMMIT_MSG_FILE=$1

"Vim stuck":

If your terminal turns into a text editor, you are likely in Vim. Type :wq and press Enter to save and exit, or :q! to abort the commit. COMMIT-EDITMSG