不应该是删掉,若你想合并的话应该把中间三个开头改为 s:
pick a1 信息1
s a2 信息2
s a3 信息3
s a4 信息4
pick a5 信息5
Rebase a0..a5 onto a0 (5 commands)
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
# x, exec = run command (the rest of the line) using shell
# d, drop = remove commit
随后输入 :wq
保存退出
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…