How do I stop Stash from respawning deleted tags?

I have a repository in stash that has many tags I don't like. I can delete a tags with

git push stash :that_tag_I_dont_like

but the tag respawns at a later point that seems indeterminate to me. I suspect Stash is allowing or encouraging this tag respawning. How do I make the tags stay deleted?

I don't know a ton about git repository layout, but I can say post push, 'that_tag_I_dont_like' still appears in the associated .git/info/refs file. I don't want to monkey around with the on disk repository behind Stash's back, but I feel like a `git update-server-info` might be needed here.

We're running stash v2.10.1

2 answers

1 accepted

Accepted Answer
0 votes

The answer seems Stash is not to blame.

SourceTree's default push setting (in use by some team members) is to push all tags by default. That was unexpected.

The repository with the stubborn tags did have a fork which was set to synchronize with the origin. This seems a plausible vector for the tag respawn. I have forcibly reset the fork and am waiting to see.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

138 views 6 8
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you