0

Check out branch by name

Всеволод Голованов 3 years ago updated 3 years ago 2

I want to be able to check out a remote branch by its name, instead of looking for it among 1000s of branches.

https://www.syntevo.com/doc/display/SG/Check+Out says:

Main window On the project window, invoke Branch|Check Out from the menu. This will open a dialog containing a Log view, where you can select the commit to check out.

But that's not how it works in SG 21.1. Branch|Check Out is disabled, unless you have a commit selected in the Graph, and if you do it just checks out that commit.

+1

In the Branches view you can expand your remote and the use speed-search (just start typing) to located the branch; then just double-click to Check Out.

Thank you, that's it.

I guess this is a suggestion to update outdated documentation then. I can see now that it describes the Working Tree Window UI, not the default one.

Well, there is a small issue that it picks the first partial match even if there is an exact match below.

E.g. if I have branches "aa-bb" and "bb", and I type "bb" - it would focus "aa-bb". Wish it would prefer an exact match.