工具推荐: goji - 使用 Emoji 提交 Commit 信息- Github:<https://github.com/muandane/goji>介绍Github:https://github.com/muandane/goji使用 Emoji 提交 Commit 信息。安装1 2 # macOS brew install muandane/tap/goji 1 2 3 4 5 6 7 # Linux VERSION=$(curl --silent "https://api.github.com/repos/muandane/goji/releases/latest" | jq .tag_name -r) curl -Lso goji.tar.gz https://github.com/muandane/goji/releases/download/$VERSION/goji_${VERSION}_Linux_x86_64.tar.gz tar -xvzf goji.tar.gz chmod +x ./goji # optionnal sudo mv ./goji /usr/local/bin/ 使用简单运行 goji 就可以开始交付模式:官方示例:goji 可以通过配置文件做一些配置:1 2 3 4 5 # 在特定 repo 中指定配置,下面命令会在当前目录下生成 .goji 文件 goji init --repo # 全局的配置,下面命令会在 $HOME 下生成 .goji 文件 goji init --global 配置文件的详细配置参考官方文档。