-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add support for rebase --onto
#2285
Comments
I think you can use interactive rebase and drop the undesired commits (usually, the bottom ones). |
As I said, use IR to rebase on C1' and drop the bottom commit (C1). |
I can't use (or I don't knowh how) |
No, Fork doesn't support |
It's already 'supported' by fork when you change your git conf like that:
Rebase onto is quite fastidious to use because we need to retrieve the 3 relevant commits manually, it should be nice to have them filled by fork UI. |
Hi,
As explain in this ticket #126 it should be nice to add support for
rebase --onto
.When working with a lot of stack branch it really efficient to use
rebase --onto
instead of cherry picking (more efficient in term of manual actions but also in term of conflict resolution).This is a common need when working on big epics through several small feature branch and PR. In this case in conjunction with
--update-ref
all the bracnches build on top of the first are move at the same time.In term of ui, I think it could be done by selecting a range (from::to) and right click on another commit (other).
In this case the associated git command should be:
git rebase --onto $other $from $to
We can also imagine to not start with a range but a single select commit (start) and right click on another commit (other).
In this case to command should be:
git rebase --onto $other $from $my_current_branch
The text was updated successfully, but these errors were encountered: