Whats the best git branching setup for opensource/library?
d
Dominaezzz
12/23/2019, 9:32 AM
I tend to use master, experiment in feature branches and then tag master for releases.
u
ursus
12/23/2019, 3:06 PM
so no release branch?
d
Dominaezzz
12/23/2019, 8:19 PM
Nahh, I don't bother. I tried that once but I ended up forgetting about the release branch for like a year anyway. So now I just tag the master branch. Should not that this was an individual project. (Your tools might end up deciding for you.... if you're unlucky...ish... 🤷🏼).
a
alex
12/24/2019, 12:26 AM
There is none, it's up to you. release/ branches are useful if you need to backport fixes/features to older versions. If it's not needed, then pure tags are ok