The context-menu of a remote branch contains a menu item "Checkout". Using that item leads to a detached HEAD.
A second menu item "Checkout as new local branch" would be useful to check it out as a new local branch (if a local branch doesn't already exist).
@rehbein-dieter do you think the detached HEAD version is worth keeping? I'm thinking about just replacing the Checkout command on remote branches to be what you describe. Thoughts?
@eamodio Replacement would be perfectly fine for me (I don't think that I've ever used a detached HEAD).
Thanks for the quick response.
Thanks @eamodio for addressing this. Yes I would be happy with replacing the detached HEAD version with checkout as local (but tracking the remote obviously) by default. Indeed, this is the default behaviour of the Jetbrains IDEs (from where I'm switching to VSCode). The detached HEAD version is still useful, but we shouldn't have that as default, in my opinion.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
@eamodio Replacement would be perfectly fine for me (I don't think that I've ever used a detached HEAD).
Thanks for the quick response.