ohmyzsh/plugins/git-commit-template
2022-01-23 10:13:57 +03:30
..
git-commit-template.plugin.zsh feat(template.sh): add sign to gct 2022-01-23 10:12:44 +03:30
README.md doc(README.md): update README.md 2022-01-23 10:13:57 +03:30

Version License Apache-2.0

git-commit-template

To better write git commit messages, we can use template to specify the desired description and type of message. This file is prepared for use in zsh.

Learn This Articles

Installation

In the first step, in the home directory (zshrc directory) clone git-commit-template.

➜  ~ git clone https://github.com/ghasemdev/git-commit-template.git

Then we have to run this command to install.

➜  ~ chmod +x git-commit-template/installer.sh
➜  ~ git-commit-template/installer.sh

In the last command we refresh oh-my-zsh source.

➜  ~ source ~/.zshrc

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 🐯