Git doesn't allow rebase because of unstaged changes when there are none

Viewed 601

When I try git rebase I see the following:

Cannot rebase: You have unstaged changes.
Please commit or stash them.

When I try git status I see the following:

On branch xxx

nothing to commit, working tree clean

I've already tried git reset, git clean -fd and git checkout .

What else can I try?

1 Answers

I gave up and nuked the repository: cd .. && rm -rf <repo> && git clone <repo>

Rebasing works now.

Related