Skip to contentSkip to conversation

Invalid rebase command leaves unclean status

BUG Frans Pop 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore

Frans Pop

author
#0 lore raw

The first command results in the creation of an empty .dotest-merge/output file which blocks any next attempt to do an interactive rebase until it is manually removed.

$ git rebase master -i
Invalid branchname: -i
$ git rebase -i master
Interactive rebase already started
$ ls .git/.dotest-merge/
output
$ cat .git/.dotest-merge/output
$ rm -r .git/.dotest-merge/
$ git rebase -i master 
<works>

This is with git version 1.5.3.5.

Cheers,
Frans Pop