commit-email-0.2.1 is not a library.
commit-email
A tool that reminds you to commit with the correct email address
Installation
Arch Linux
commit-email is available on the AUR. Afterwards add the shell script to your shell configuration.
Other
Use cargo to install commit-email.
Afterwards add the shell script to your shell configuration.
Shell Script
This script runs commit-email every time you run git commit.
Configure
If you want do adjust the config file for the commit-email tool, you will find the configs in the following path ~/.config/commit-email/commit-email.toml (linux).
# List of repo urls where the tool will not set a commit email
= []
# Emails the tool will use
= [
'email@example.com',
'email2@example.com'
]
The tool will also use your global git email, if set (e.g. in your global .gitconfig).