Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to delete multiple tags in SourceTree

We have multiple build tags in BitBucket that I want to delete since they are no longer needed.  The tag names start with "sqa_", such as sqa_v14.1.1_b100, sqa_v14.1.1_b101, etc.

It looks like it is possible to delete multiple branches through SourceTree using a checkbox, but I do not see similar functionality available for tags.

Is it possible to delete multiple tags through SourceTree and if so, how?

 

Thanks for your support,

 

Terry

 

7 answers

I run this in terminal:

$ git tag -l | xargs git tag -d

 

(source: https://stackoverflow.com/questions/1841341/remove-local-git-tags-that-are-no-longer-on-the-remote-repository)

 

I tried to add this as 'Custom Action' in SourceTree, but I get '

launch path not accessible', no easy fix (which is beyond me, looks simple enough, run a git command).

Please make this happen, I need this in a regular basis!

I need that too.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,102 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you