Subversion represented tags and branches in the repository, allowing you to manipulate and version them. This was a useful property for long lived repositories as you might want to reuse a tag or branch name. You could delete the branch and recreate it and if you wanted to see the old one then you just checked out an older version of the repository. With Git, it seems like once you delete it all you have left is the hash and no record that there used to be a tag or branch with some name pointing to it. Is that correct?
Subversion represented tags and branches in the repository, allowing you to manipulate and version
Share
No, Git tags and branches are not versioned. Both are just pointers to commits. In contrast to Hg where the tags are tracked in a working tree file (
.hgtags), in Git they are stored in the admin are (.gitdirectory).