Skip to content

Delete or push multiple tags at once - #6071

Merged
stefanhaller merged 6 commits into
masterfrom
delete-multiple-tags-at-once
Sep 27, 2026
Merged

stefanhaller merged 6 commits into
masterfrom
delete-multiple-tags-at-once

Conversation

@stefanhaller

Copy link
Copy Markdown
Collaborator

Make it possible to range-select multiple tags and delete or push them all at once.

@stefanhaller stefanhaller added the enhancement New feature or request label Sep 27, 2026
@stefanhaller
stefanhaller force-pushed the delete-multiple-tags-at-once branch 3 times, most recently from 67d1bdb to 456bed3 Compare September 27, 2026 09:13
Base automatically changed from update-stacked-branches-on-pull to master September 27, 2026 09:19
stefanhaller and others added 6 commits September 27, 2026 11:19
Deleting and pushing a range selection of tags will need to show their
operation on all the selected tags. Move the code from BranchesHelper
into a generic function that takes the items and the key of the context
that shows them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This lets deleting a range selection of tags delete them all with a
single git command, the same way it works for branches.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Deleting a remote tag and deleting a local and remote tag each have
their own copy of the code that asks for the remote and for a
confirmation. Deleting a range selection of tags needs to change it in
the same way for both.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Tags can only be deleted one at a time. If many of them have piled up,
for example backup tags made before rewriting a branch, deleting them
takes a lot of keypresses.

Let the delete menu work on a range selection of tags. It deletes the
selected tags with one git command for the local tags and one for the
remote tags, and asks for a single remote for all of them. After
deleting local tags, collapse the range selection to its first line;
otherwise it would select the tags that moved up into the place of the
deleted ones.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This lets pushing a range selection of tags push them all with a single
git command.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Tags can only be pushed one at a time. Let the push command of the tags
panel work on a range selection of tags too. It asks for one remote and
pushes all selected tags to it with a single git command.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@stefanhaller
stefanhaller force-pushed the delete-multiple-tags-at-once branch from 456bed3 to 09b53e9 Compare September 27, 2026 09:19
@stefanhaller
stefanhaller merged commit cfbbf18 into master Sep 27, 2026
12 checks passed
@stefanhaller
stefanhaller deleted the delete-multiple-tags-at-once branch September 27, 2026 09:24
stefanhaller added a commit that referenced this pull request Sep 27, 2026
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant