【发布时间】:2022-03-04 20:25:04
【问题描述】:
GitHub(可能是错误的)在提及 GitHub 问题时使用了#。所以我想在第一行添加一个提交消息,引用该问题。
例如
#12: New commit
- Did a thing
- Did another thing
Vim/git 会忽略以#'s 开头的行,所以我不知道如何转义它????♂️
【问题讨论】:
-
将
#视为注释的是Git,而不是Vim。 (好吧,Vim colors 文本基于#-as-comment,但这不会影响最终结果。)