Sublime Forum

Delete tag on romote

#1

How can i delete a tag on a remote? I’ve found the action to do it locally but not for remotes.

0 Likes

#2

You can add a command in a Tag.sublime-menu that you save in your package directory (Preference -> browse package to find it)

[
    {
        "caption": "Delete remote tag from origin",
        "command": "git",
        "args": {"argv": ["push","--delete","origin","$tag_name"]}
    }
]

The limitation here is that the remote is hard coded, and until plugin can be implemented (or at least the most basic version where we can write command with option, like the existing one) I’m not sure you can do better than that. Or add it to the long list of request in https://github.com/sublimehq/sublime_merge/issues

2 Likes

#3

The file was not present. I just added a file with the name and pasted the JSON. Works like charm. Thanks a lot!

0 Likes