by linuxftw · 1y ago · 0 comments
Release branches are typically the mutable reference. So I would create a 'v2' release branch, but not a 'v2' tag which gets updated.
Also, by convention, git references starting with 'v' are typically immutable tags and not branches.
But, even given the above, the git-community at large knows that tags can be mutable, and so if we care about that, we reference the sha (malicious collisions excepted).
[0] https://docs.github.com/en/actions/writing-workflows/workflo...