I made a new remote repository on bitbucket, then cloned it locally.
Made 1 commit and pushed the master branch to remote origin and made sure it's tracking origin/master branch.
Made 5 more commits that I did not push to the remote origin.
Tried interactive rebase. The ui appeared as it should.
I then removed the remote.
Tried interactive rebase again. Got the empty window error.
The command history shows:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree -c sequence.editor='/Applications/SourceTree.app/Contents/Resources/stree_gri' -c core.editor='/Applications/SourceTree.app/Contents/Resources/stree_gri' rebase -i --autosquash
There is no tracking information for the current branch.
Please specify which branch you want to rebase against.
See git-rebase(1) for details
git rebase <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=<remote>/<branch> master
...
It seems interactive rebase will only work for repositories that have a remote.
Is that how it should be?