Commit-editmsg Upd

Why is this revolutionary? Because you can programmatically validate or modify the commit message.

The message you've provided, "interesting text," suggests that you or someone else is in the process of writing or editing a commit message for a Git commit. When users commit changes, Git encourages them to provide a meaningful commit message that explains the changes made in the commit. This message is usually written in the imperative mood and includes a brief summary followed by a more detailed explanation, if necessary. COMMIT-EDITMSG

When you open COMMIT_EDITMSG , you typically see two sections: the (top) and the Metadata/Comments (bottom). Why is this revolutionary

Using a prepare-commit-msg hook (a cousin that runs before the editor opens), you can read the branch name and append the ticket to COMMIT-EDITMSG : When users commit changes, Git encourages them to

Aborting commit due to empty commit message.

COMMIT-EDITMSG