I’m moving from svn to git. With svn I used to have a tag structure like this:
tags
| fixes
| | 14
| | 31
| | 46
| betas
| | 1.1b
| | 1.1b2
| releases
| | 1.0
| | 1.1
| | 1.2
Is this not possible with git? Every git documentation I’ve read only mentions simple flat tagging with names, but no hierarchical structure:
$ git tag
v1.0
v1.1
v1.2
You can put
/in your Git tag names, so you can:Et cetera. I would consider it kind of redundant since it’s already obvious that
1.1bis a beta.Please note that Git tags and Subversion tags are very different. A Git tag is a named point in history, whereas a Subversion tag is a directory. As a consequence, you can browse Git tags with history tools like
gitk, so you may discover that you have no need for hierarchical names.