Why is this revolutionary? Because you can programmatically validate or modify the commit message.
In your default editor, COMMIT-EDITMSG usually has a subtle vertical line at column 50 or 72. This is not a coincidence. COMMIT-EDITMSG
git config --global commit.verbose true
git config --global commit.template ~/.gitmessage.txt Why is this revolutionary
# <subject> (max 50 chars) # |<---- 50 chars ---->| # # <body> (wrap at 72 chars, explain what and why, not how) # |<---- 72 chars ---->| # # Issue: #<number> # Signed-off-by: <your name> (max 50 chars) # |<
Keep it under 50 characters and in the imperative mood (e.g., "Fix bug" instead of "Fixed bug").