threads / discuss / 20691

git rebase --interactive problem

Subject: git rebase --interactive problem

## tl;dr

2 messages between Aug 21, 2009 and Aug 21, 2009.

replies: 1people: 2as markdown or json

Lenka Dubcova· Aug 21, 2009, 21:12 UTC · lore
Hi,

I wanted to squash one commit to another using git rebase --interactive HEAD~2, but I made a typo, instead of squash I wrote sqaush, so it stopped and left this message

Unknown command: sqaush 43ce3ae my commit message Please fix this in the file /home/lenka/hermes2d/.git/.dotest-merge/git-rebase-todo.

Moreover it jumped from my branch to (no branch).

So I corrected it in "git-rebase-todo" and saved, but I don't know what to do next.

Thanks, Lenka

-- 
View this message in context: http://n2.nabble.com/git-rebase-interactive-problem-tp3492625p3492625.html
Sent from the git mailing list archive at Nabble.com.
Alex Riesen· Aug 21, 2009, 21:18 UTC · re: Lenka Dubcova · lore

Re: git rebase --interactive problem

On Fri, Aug 21, 2009 at 23:12, Lenka Dubcova<dubcova@gmail.com> wrote:
Show 8 quoted lines
> Unknown command: sqaush 43ce3ae my commit message
> Please fix this in the file
> /home/lenka/hermes2d/.git/.dotest-merge/git-rebase-todo.
>
> Moreover it jumped from my branch to (no branch).
>
> So I corrected it in "git-rebase-todo" and saved, but I don't know what to
> do next.
Try "git rebase --continue"

← back to recent threads