【发布时间】:2012-08-09 15:02:39
【问题描述】:
我正在使用 msys git,我注意到的一件事是,当我在 vi 中编写包含两个或多个换行符的提交消息时,当它实际提交时,只会有一个换行符。
如果我这样写:
my first commit
Hello out there from the first line.
Hello out there from two linefeeds below.
它将被提交为:
my first commit
Hello out there from the first line.
Hello out there from two linefeeds below.
有没有人使用 msys git 注意到这一点,我怎样才能阻止它发生?
git 版本 1.7.10.msysgit.1
谢谢
【问题讨论】: