mhutchie / vscode-git-graph

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.
https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph
Other
1.9k stars 244 forks source link

Add push mode "force" option when pushing tags #746

Open brendan-simon-indt opened 1 year ago

brendan-simon-indt commented 1 year ago

When pushing branches there are options to force the push (e.g. if the branch already exists on the remote and local branch has been rebased).

This option does not exists for tags. If I want to push a tag (that has been rebased - deleted/readded to rebased local branch) that already exists on the remote, I have to manually delete the tag on the remote and then push the local tag to the remote.

Having "force" options (like pushing branches) makes it easier to push a tag to existing tag name on the remote and overwrite it (just like branches).