In your terminal run
cz commit or the shortcut
cz c to generate a guided git commit.
A commit can be signed off using
cz commit --signoff or the shortcut
cz commit -s.
To maintain platform compatibility, the
commit command disable ANSI escaping in its output.
In particular pre-commit hooks coloring will be deactivated as discussed in commitizen-tools/commitizen#417.