Change:
<!-- Do Not Delete This! featurerequesttemplate --<!-- Please read our Rules of Conduct: --<!-- Please search existing issues to avoid creating duplicates. --<!-- Describe the feature you'd like. --Be able to delete remote git tags using this command using command palette currently only deletes local tags
Well, if this one still opens for participating, I would love to give you a hand with it.
I would like to work too. We can work on this together.
I saw this issue open and I was able to get it working with the PR that I've submitted above. If nobody was working on this then could you please look at the PR?
Hello, can I try working on this PR? I am from GHC OSD. If so, how can I start? I'm new to this.
Is this issue being take care of? I'm looking to start contributing and thought I may help
Hello, I'm new to contributing. So can I try working on this PR?
Hello, I am new to contributing as well, and I would be willing to work on this with someone if any of you are already working on this.
if it is still open assign me. I will love to work on it.
Closed by
Verification steps: Create a new repository on GitHub or use one of your existing GitHub repositories Open the folder/workspace that contains the git repository in VS Code Insiders Create a new tag, and push the tag to the remote Open the repository on and confirm the tag has been pushed to the remote Open the command palette and invoke the "Git: Delete Remote Tag" command Confirm that the remote tag appears in the quick pick widget Pick a tag to be deleted Open the repository on and confirm the tag has been deleted
The tag was successfully deleted but two tags showed up in the dropdown that were for the same branch just one had additional brackets. <img width="969" alt="Screenshot 2023-01-25 at 8 32 31 AM" src="https://user-"
Could you run the following command from the integrated terminal: What does it return? Also do you have a consistent repro of these tags showing up after you deleted a remote tag?
I will try that command now. Also these tags don't show up after deletion, I wrote that in the incorrect order. I meant to say that there are two items that come up in the list when I first try and delete the tag (so the tag should exist since I hadn't deleted it yet but not twice)
output:
also once I delete then also disappears. Output to above command following using the command:
could you please go through the steps using VS Insiders released on Friday. The issue here is that when you create a tag in VS Code, it creates an annotated tag, which be being represented by two refs on the remote (ex: and ). With the latest changes we deduplicate the annotated and lightweight tags so the quick pick should not show entries that end with . Delete a tag on the remote will delete both the annotated and the lightweight tags.
Hello! I am still seeing the duplicate tag name on the dropdown. (sorry for the delay, my VS Code was really struggling to download the newest version of insiders). <img width="943" alt="Screenshot 2023-01-26 at 1 28 38 PM" src="https://user-"
the fix is included in Friday's Insiders build. Could you please attempt to validate this today.
Yep was also able to verify- thanks

Discussion:
} const remoteTagPicks = async (): Promise<TagItem[] | QuickPickItem[]> => { <del> const remoteTags = await repository.getRemoteRefs(remoteName, { tags: true }); </del> <ins> const remoteTagsRaw = await repository.getRemoteRefs(remoteName, { tags: true }); // Deduplicate annotated and lightweight tags const remoteTagNames = new Set<string>(); const remoteTags: Ref[] = []; for (const tag of remoteTagsRaw) { const tagName = (tag.name ?? '').replace(/^{}$/, ''); if (!remoteTagNames.has(tagName)) { remoteTags.push({ ...tag, name: tagName }); remoteTagNames.add(tagName); } } </ins> return remoteTags.length === 0 ? [{ label: l10n.t('$(info) Remote "{0}" has no tags.', remoteName) }] : remoteTags.map(ref => new TagItem(ref)); };