I found this post: [Sublime Merge] Checkout a tag but it’s pretty old and they don’t have a solution. When I right click on a tag, I still only see ‘Delete’ and ‘Push’.
Is it possible to check out a tag in Sublime Merge?
I found this post: [Sublime Merge] Checkout a tag but it’s pretty old and they don’t have a solution. When I right click on a tag, I still only see ‘Delete’ and ‘Push’.
Is it possible to check out a tag in Sublime Merge?
What version of Merge are you on? I can use the command palette to quickly navigate to a tag using “Navigate to Tag…”, and then I can right click the tag and select “Check out Tag <tag name here>”.
With that said, I’m on the Dev channel and am using version 2043. This is a new feature in 2043 and I do not think it is available yet in the stable branch.
I have Stable Build 2039. I see. I can do the same thing. I can “Checkout Commit” from the Commits panel, but not from the Locations panel. I would have expected to be able to check out from Locations, but this works too, so I’m happy. Thanks!
“Checkout Tags” is available in the Locations context menu in 2043, so it’ll be in the stable branch eventually,
You can add a custom menu item as a workaround for pre-2043:
Tag.sublime-menu
:
[
{
"caption": "Checkout $tag_name",
"command": "checkout_branch",
"args": { "branch": "$ref" }
}
]
Thanks @srbs! Can someone point me to the documentation on how to configure custom menu items?
Menu customization: https://www.sublimemerge.com/docs/menus#customization
Where the Packages
directory is: https://www.sublimemerge.com/docs/packages