You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm on a branch, the grb=forgit::rebase command is showing mainly commits in my master/main branch.
But oftentimes I rebase commits between non-master branches (e.g. to send stacked PRs where each branch has a PR, and the branches build on top of each other).
Is there way to configure grb to work with "branches" (like gcb command) instead of a commit picker based on commits in master?
I am not sure I understand your issue correctly. forgit::rebase should display the commits of the branch you have currently checked out (if that's not the case, this might be a bug). Furthermore, forgit::rebase is meant for interactively rebasing the commits on a single branch, i.e. changing their order, squashing, amending or dropping.
We do not have any forgit command to rebase the current branch onto another branch. The closest thing to this might be forgit::cherry::pick::from::branch which shows a list of your branches and then a list of commits to cherry-pick into your current branch.
Problem description
When I'm on a branch, the
grb=forgit::rebase
command is showing mainly commits in mymaster
/main
branch.But oftentimes I rebase commits between non-master branches (e.g. to send stacked PRs where each branch has a PR, and the branches build on top of each other).
Is there way to configure
grb
to work with "branches" (likegcb
command) instead of a commit picker based on commits in master?Check list
Environment info
Problem / Steps to reproduce
The text was updated successfully, but these errors were encountered: