git mailmap

Last updated on November 22, 2024 pm

🧙 Questions

☄️ Ideas

全局开启mailmap
git config --global mailmap.file "~/.mailmap"
git config --global log.mailmap true
git log
使用mailmap
git log --use-mailmap
git log --graph --pretty=format:'%C(yellow)%s%C(yellow) - %C(blue)%h%C(blue) - %C(green)创建人:<%aN>[%cD]%C(green) - %C(red)提交人%cN[%cd]%C(red)' --abbrev-commit --date=relative
git log --pretty=format:"%C(yellow)%s%C(yellow) - %C(blue)%h%C(blue) - %C(green)创建人:<%aN>[%cD]%C(green) - %C(red)提交人%cN[%cd]%C(red)"
格式
vim .mailmap
ispong 技术负责人 <ispong@outlook.com>

git mailmap
https://ispong.isxcode.com/github/git/git 成员管理/
Author
ispong
Posted on
July 1, 2022
Licensed under