+1

Log/WT: improve combination of branch renaming w.r.t. branch on origin and tracked branch

uscholz 12 months ago updated 12 months ago 2

When renaming a local branch, it often needs to be pushed to origin under that name and the tracked branch of the local one needs to be set to the new one on origin with that name.

That all needs a lot of clicks and typing in the new branch name by hand. I would propose to extend the Push To window by

- a third bullet point (besides Tracked or matching branch and Custom Ref): "To branch with same name as the one to be pushed"

- another option (besides Force pushing): "Set tracked branch to selected branch on origin (Push To target)"

I hope you'll find a better wording for these points.

Image 761

In the Standard window, Rename already works as expected.

I'm not referring to renaming but to pushing a renamed branch and to setting the tracked branch to pushed renamed one.

What is the "standard" window?

Does it allow to automatically push with the new name and does it automatically set the tracked branch to the new one?