I am implementing the git template commit message for the team.
I've done it through .git/hooks/prepare-commit-msg hook by
adding one line:
cat ".gitmessage" >> "$1"
Also I've configured the below:
git config --local commit.template .gitmessage
Well, the template feature works fine but only when git commit is called
without -m flag.
Unfortunately, all the team members work flow is:
git add ...
git commit -m "Some message"
Question: How to force git to always open the editor to edit the message,
even when called by git commit -m ... command?
-mis that you can skip opening the editor and define the message inline