On 2009.12.10 13:23:43 +0100, Michael J Gruber wrote: > Print the sha1 of the deleted tag (in addition to the tag name) so that > one can easily recreate a mistakenly deleted tag: > > git tag -d tagname > Deleted tag 'tagname' DEADBEEF > git tag 'tagname' DEADBEEF # for lightweight tags > git update-ref refs/tags/'tagname' DEADBEEF # for annotated tags Using "git tag 'tagname' DEADBEEF" should actually work in both cases. As that does nothing but creating the ref in the refs/tags/ namespace. Bjoern -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html