Skip to content

rebase-branch always replaces the current branch #9

Open
@alicederyn

Description

@alicederyn

Sometimes when running rebase-branch, I want to remove one or more branches from the list, to keep them as they are. Unfortunately, if the current branch (or the branch provided on the command-line, if I happened to trigger it that way for some reason) is one of those, rebase-branch still overwrites it with the final commit.

Options for fixing this:

  • rebase-branch could check the list of target branches in the final script and, if the current branch is no longer there, pick the first one to pass through to the rebase command.
  • maybe there is a way to invoke rebase without passing a branch at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions