Github updating a branch
已回答
WS2019.3EAP
If I create a new branch "B" based on "A" and then while working on "B" I want to refresh it from "A", with my changes in branch "B" still being on top of all the changes in branch "A" what are the commands I need to use in 2019.3EAP?
Tks
Rob
请先登录再写评论。
It would be easier to use the command line. `git rebase A` is perfect to get what you need.
> what are the commands I need to use in 2019.3EAP?
The same as in older versions. To keep your changes on top, you need to rebase the current branch (B) on (A).
From the branches popup, select the A branch and use Rebase Current Onto Selected action.
Searched for "Rebase Current Onto Selected action" and it doesn't exist
There is a "rebase" menu item which opens a popup Rebase Branch - but if that's what you meant then I am confused how the various lookup boxes and checkboxes should be set to do this
GitRoot
Branch
interactive
Preserve Merges
Onto (filled with many refs/heads/**** and many refs/remotes/origin/**** entries, not sure which to pick)
From (?)
Show Tags
Rebase Current Onto Selected is not available in the FInd Action because it only makes sense in the context of a selected branch.
To select a branch, use Branches popup (Branches is available in Find action)