mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 16:20:07 +00:00
882c1d52ce
Limit character for short descriptions is 50. |
||
---|---|---|
.. | ||
git-commit-template.plugin.zsh | ||
README.md |
git-commit-template plugin
To better write git commit messages, we can use template to specify the desired description and type of message.
To use it, add git-commit-template
to the plugins array in your zshrc
file:
plugins=(... git-commit-template)
Learn This Articles
Usage
All you have to do is call the gct
command and fill in the items that
are not optional at each step to prepare the message format.
With the git log
command, we can see the message that we committed.