Had*_*011 6 git commit-message editor commit visual-studio-code
我正在使用 VS Code 来编写提交消息。当我输入git commit -aVS Code 时,它会启动以下文本:
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch assi
# Changes to be committed:
# modified: Default_Navigation.cs
#
Run Code Online (Sandbox Code Playgroud)
这个模板可以改吗?
小智 7
git config commit.template /absolute/path/to/template_file似乎是要走的路。查看如何在存储库相对路径的文件中为存储库指定 git 提交消息模板?
| 归档时间: |
|
| 查看次数: |
5198 次 |
| 最近记录: |