Sublime Forum

Checking out a remote branch will not show its name anymore, but only the Hash

#1

Hi,

My terminal workflow is to git fetch, and then git checkout branch_name in my local. I couldnt do that on SM (after git fetch I could not check out the branch, only if I could ‘Git Checkout Remote Branch’ that would work) That’s also fine by me, but the problem with it is that it doesn’t tell me the branch name, only the hash.

Best,

0 Likes

#2

When you checkout branch_name on the command line, it’s actually creating a local branch named branch_name, setting it to track origin/branch_name, and then checking out the newly created branch.

To do this in Sublime Merge, you want to use the “Create local branch from origin/branch_name” context menu, or “Create Branch from Remote Branch” in the Command Palette

2 Likes