Consider these scenarios:
- Repository with a main branch.
- Dev branch created off main, with 4 additional commits.
- Try to rebase children interactively on the latest main commit.
- ---> This works fine, no issues.
- Now create another local branch from main branch but don't add any commits to it or switch to it. Simply have another local branch whose last commit is the same as main.
- Try to rebase children interactively on the latest main commit.
- ---> Nothing happens.
- Delete the dummy commit you created in step #5.
- Try to rebase children interactively on the latest main commit.
- ---> This works fine, no issues.
It looks like the rebase children interactively function requires that the commit of the starting point has at most one local branch. No issue if there are additional remote branches on this commit.
Since the rebase is done from a commit, not from a branch, it is not clear why having a second branch prevents the operation.
Is this a bug?