git 省略 commit message

每次提交使用

git commit --allow-empty-message --no-edit

也可以设置命令别名

git config --global alias.nocommit "commit --allow-empty-message --no-edit"
git nocommit
posted @ 2021-12-22 00:23  mkckr0  阅读(278)  评论(0编辑  收藏  举报