I was tasked to organize the repository in the way that aside other branches there would be a dedicated branch, where we would only store the commits of released version. Below is the simplified scheme of what I would like to achieve:
| trunk | | releases |
|----------+-----------+----------|
| commit 1 | | |
| commit 2 | v0.1 ---> | tag 1 |
| commit 3 | | |
| commit 4 | | |
| commit 5 | | |
| commit 6 | v0.2 ---> | tag 2 |
| commit 7 | | |
| commit 8 | | |
| commit 9 | | |
This is a little bit too advanced for me now, so I'd appreciate some guidance on how to do that! I'm not really sure on how would I be able to have the second tag in the "releases" branch w/o having to import all the intermediate commits. Is that possible at all?
Also, if you have a better scheme for achieving the same goal (the goal being to have a dedicated branch for releases only), please do not hesitate to advise!