Add support for "git rebase --onto"
Those of us that employ a rebase-centric development model sometimes need to drop into the command-line to run "git rebase" with the --onto option.
The common use case is a longer-lived feature branch that several developers contribute to, and which gets rebased fairly often (e.g. weekly). If one developer has local commits that had not been pushed prior to another developer doing the weekly rebase (& force push), it is hard to migrate those commits onto the newly rebased feature branch without dropping onto the command-line to run "git rebase" with the --onto option.
The existing patch file feature request could be one solution, but still a bit manual. It seems like there could be a very sexy GUI gesture for this where you select one or more commits and just drag-n-drop them to a destination branch.
Comments: 3
-
21 Jan, '22
Adam ManwaringI'd like to see this as well. I was thinking that maybe the UI for this could be something like this:
When someone right-clicks on a commit the context menu show the "Interactive Rebase # children of ?????" option with a draggable icon of some sort. Clicking the option behaves as it does now, but dragging the icon hides the menu, highlights the children commits, and allows the user to drag onto the target branch or commit. Then the interactive rebase dialog opens as usual and the rebase is applied to the target. -
09 Feb, '23
Thomas Einwallerplease add this feature - miss it every day and keeps me from not needing git Tower license anymore
-
19 Dec, '23
Joey Kelroy Admin"Rebase branch against specific commit" (suggested by James on 2023-12-14), including upvotes (1) and comments (0), was merged into this suggestion.