-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
Support rebase (git rebase <branch>) #302
Comments
I don't think so, but it is linked to #32 and the functionality implemented in this would be used in #32 . #32 wants to be able to do an interactive rebase in the log tab (so squash/fixup/reword/drop commits, i.e #32 wants: https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History (after 'Changing Multiple Commit Messages') I agree the branch list could be reused, so #91 should be completed before attempting this. |
@WizardOhio24 thanks for clarifying - sounds right! let's tackle #91 and then focus on this |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Supported since #897 |
Is your feature request related to a problem? Please describe.
When pushing to a remote repo, it may be required to rebase if someone else has contributed while you were working and it would be useful to be able to perform a rebase in GitUI.
Describe the solution you'd like
When you press the 'r' key in the status tab, a popup should appear asking you which branch you want to rebase onto. After selecting the branch and pressing enter, git will rebase the current branch onto the selected branch. If there are no conflicts, a popup will appear saying the rebase was successful. (For the initial implementation, this should only rebase, not fetch as well as it would in
pull --rebase
).If there are conflicts, the rebase will take over the whole screen, the title will become "{current_branch rebasing onto other_branch}" with a filetree on the left and a diff box on the right (telling the user where the conflicts are). All the tabs along the top will disappear (I don't see a need for them to be there, this would clearly illustrate that the user must either abort or continue with the reabse and should make no other changes). On this rebase screen the user can press esc to cancel(abort) and 'c' to continue. After the rebase has successfully finished, a popup will be displayed saying the rebase has been completed successfully.
Describe alternatives you've considered
There is currently no way to rebase in GitUI
The text was updated successfully, but these errors were encountered: