DEV Community

Discussion on: How to organize your git branches

Collapse
 
guitarkat profile image
Kat • Edited

Ours is ticket based but I also tie it to bugfixes, features, release(through tagging and a dev and staging branch respectively) and master being prod.

I like these folders but what if you are not using gitflow? My guitgui splits it with the prefixes bugfix/, features/ which is pulled from the ticketing system.

I really like the idea of the documentation being in there and just tasks being seeing as tasks (I can do this now actually - neat idea).

I do love the logical splitting of modules. If you have a current repo with the folder setup I've mentioned, how do you translate it with an old repo or current? But I'm also worried about it conflicting with my current setup but maybe there is a way to mix? I think there is. This has given me some really good things to think about.

Also how to you get gitflow on a current repo?

Thank you for this awesome post. :)