This happened to me so often that I made a git pre-commit hook to catch it: https://github.com/nobssoftware/nocommit for the word NOCOMMIT
Includes a GitHub CI action to prevent merging it in to master
It has caught so many of these mistakes for me…
Includes a GitHub CI action to prevent merging it in to master
It has caught so many of these mistakes for me…
I would also love if it detected a `.gitmessage` for message the message template without needing to set it up for each repo, but that is a different matter.