Dan Fabulich Dan Fabulich - 4 years ago 111
Git Question

How can I archive old git tags?

I have some old tags in my git repository that are no longer important. I would like to archive the tags so that they don't show up by default when running git tag. I don't want to delete them, because I want to keep the history. How can I do this?

Answer Source

Clone the repo, leave the tags in the backup, then delete them from the one you are working in.

(Note that @AndrewC wrote this answer in a comment to the question, but it counts as an answer to the question.)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download