Find unreachable tags
git fsck --unreachable | grep tag
Check tag details with
git show KEY
Restore the tag ref
git update-ref refs/tags/NAME KEY
Reference: https://baptiste-wicht.com/posts/2011/06/git-tip-restore-a-deleted-tag.html
Find unreachable tags
git fsck --unreachable | grep tag
Check tag details with
git show KEY
Restore the tag ref
git update-ref refs/tags/NAME KEY
Reference: https://baptiste-wicht.com/posts/2011/06/git-tip-restore-a-deleted-tag.html