Skip to main content


Commit messages

npm install -g commitizen
npm install -g cz-conventional-changelog
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc

Global configuration & ignore

name = Yuanji
email = [email protected]
signingkey = 3CB6EA7C55827AAD

quotepath = false
pager = delta

diffFilter = delta --color-only

navigate = true

conflictstyle = diff3

colorMoved = default

gpgsign = true

defaultBranch = main

Project wise configuration

repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = [email protected]:masakichi/wiki.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
remote = origin
merge = refs/heads/main
name = Yuanji
email = [email protected]
signingkey = 3CB6EA7C55827AAD
gpgsign = true

Git log

List commit message between two tags

git log --pretty="%s" --no-merges  v1.8.12..v1.9.0

Ref: Git - pretty-formats Documentation


A framework for managing and maintaining multi-language pre-commit hooks.

For more information see:


sudo pacman -S python-pre-commit

Current repository's configuration

--8<-- ".pre-commit-config.yaml"

Ref: supported hooks

Setup git hooks

pre-commit install


Update git commit author date when amending

git commit --amend --date=now