Skip to contentSkip to conversation

git rebase --interactive problem

DISCUSSION Lenka Dubcova 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
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.
#1 lore raw
Quoted 8 lines · Lenka Dubcova

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"