Do Git tags only apply to the current branch?
CharlesB’s answer and helmbert’s answer are both helpful, but it took me a while to understand them. Here’s another way of putting it: A tag is a pointer to a commit, and commits exist independently of branches. It is important to understand that tags have no direct relationship with branches – they only ever identify … Read more