1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 22:30:07 +00:00
ohmyzsh/plugins/git-commit-template
2022-02-11 10:22:50 +03:30
..
git-commit-template.plugin.zsh fix(git-commit-template): modify the keyword perf 2022-02-11 10:22:50 +03:30
README.md doc(README.md): update README.md 2022-01-23 10:23:54 +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

signature

You can use -s or sign to add a signature to the gct.

➜  gct -s
➜  gct sign

Tanks For Supporting 📌 Source