ohmyzsh/plugins/git-commit-template
ghasem shirdel 0e1841b6d6 fix(template.sh): fix decription for non git directory
When we are in a non-git folder, if we use the 'gct' command, we will also see the reason for the error.
2022-01-10 09:22:24 +03:30
..
git-commit-template.plugin.zsh fix(template.sh): fix decription for non git directory 2022-01-10 09:22:24 +03:30
README.md style: break long lines 2022-01-07 14:12:50 +03:30

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.

gct

result

With the git log command, we can see the message that we committed.

git log

Tanks For Supporting 📌 Source