OK so suppose you've released version 1.2.0 and started working on 1.3.0.
There is a bug in 1.2.0 and 1.3.0 isn't ready yet, so you use 1.2.0 tag to create a new branch, let's say 1.2-fix, and fix a bug there to make a release 1.2.1. Then you delete 1.2-fix branch.
Then there is another bug, so you now create a branch from tag 1.2.1 and make a fix. Delete branch.
Then there is another one...
You know what, instead of creating a new branch for each fix you can just have an 1.2.x branch which will automatically track the latest 1.2.x release (tag).
Depends on the product. If you're developing say, Android, you'll want long-running release branches. If you're doing a web app, tags are probably sufficient.
0
u/[deleted] Jun 19 '15
[deleted]