相关疑难解决方法(0)

如何更改git commit消息中的默认注释?

是否可以修改默认git提交消息的注释部分?我想为我的用户添加更多"上下文"信息.

# Please enter the commit message for your changes.
# (Comment lines starting with '#' will not be included)
# Explicit paths specified without -i nor -o; assuming --only paths...
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       modified:   test.txt
#
Run Code Online (Sandbox Code Playgroud)

git git-commit

48
推荐指数
2
解决办法
2万
查看次数

标签 统计

git ×1

git-commit ×1