Sublime Forum

[Sublime Merge] Checkout a tag

#1

The default context menu currently does not allow to checkout a tag (you can only delete/push).
If like me, you need this option, you can simply create a file Tag.sublime-menu in you package\user directory with :

[
    { "command": "checkout_branch", "args": {"branch": "$ref"} }
]

I think it should be part of the default menu since being able to checkout a given is the reason we create tag in the first place, but this is another discussion :stuck_out_tongue:

2 Likes

How do I check out a tag?
#2

It would be cool if we could checkout a tag from the quick panel as well.

2 Likes

#3

Probably should cleanup the menu item text as well:

[
	{
		"caption": "Checkout $tag_name",
		"command": "checkout_branch",
		"args": {"branch": "$ref"}
	}
]
1 Like