2

現時点で私の git-rebase-todo は

squash: f732993 aaatest

# Rebase f3a7aa7..f732993 onto f3a7aa7
#
# 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
#
# If you remove a line here THAT COMMIT WILL BE LOST.
# However, if you remove everything, the rebase will be aborted.
#

コマンドライン出力

eugene@eugene-desktop:~/git$ git rebase --continue
Unknown command: fixup: f732993 aaatest
Please fix this in the file /home/eugene/git/.git/rebase-merge/git-rebase-todo.

squash が認識されないのはなぜですか? git のインストールに何か問題がありますか?

4

2 に答える 2

2

:後はないはずsquash

于 2011-08-10T07:48:07.903 に答える
0

コミットを何もつぶすことはできません。一方を他方に押しつぶすことができる少なくとも 2 つのコミットが必要です。

于 2011-08-10T08:00:08.860 に答える