By checking out the tag. Presumably every version released to a client has a tag associated with it that you can use to get back to that state. The problem is that branches are a logical collection of commits, and the author is abandoning that in favor of tag soup.
Not sure what you mean by "tag soup" and "logical collection of commits". Both tags and branches are pointers to commits in Git. There can't be any difference between them, other than conceptual.
A branch's HEAD is a pointer to a commit. A branch itself is a logical collection of commits grouped together. If you add a commit on top of a tag, you have a floating commit. If you add it to the head of a branch, you're still on that branch, and the new commit is part of the collection of commits referred to by branchname. It's an organizational construct in addition to a conceptual one.
I think you're forgetting the context in which we discussed this. You can't move a branch that's tracking a version you released to the client. In the same way you can't go back in time and hand the client a different version of your software.
13
u/[deleted] Jun 19 '15
By checking out the tag. Presumably every version released to a client has a tag associated with it that you can use to get back to that state. The problem is that branches are a logical collection of commits, and the author is abandoning that in favor of tag soup.