Make conventional commits, faster, and consistently name scopes
Given we have configured the tool, it looks for this in the root of the git repository.
.fastconventional.yaml
use_angular: true
types: [ci]
scopes: ["mergify", "just", "github"]
When we commit, git has generated this stub configuration
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Your branch is up to date with 'origin/master'.
#
# Changes to be committed:
# new file: README.md
We can add our conventional message using this neat UI
See the releases page we build for linux and mac (all x86_64), alternatively use brew
brew install PurpleBooth/repo/fast-conventional
This binary is designed to be run as a editor in git. To install it run
git config --global alias.fci '-c "core.editor=fast-conventional editor" commit'
To trigger it when you commit run
git fci