Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebase-branch always replaces the current branch #9

Open
alicederyn opened this issue Oct 2, 2024 · 0 comments
Open

rebase-branch always replaces the current branch #9

alicederyn opened this issue Oct 2, 2024 · 0 comments
Labels

Comments

@alicederyn
Copy link
Owner

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?
@alicederyn alicederyn added the bug label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant