Quantcast
Channel: User Recoba20 - DevOps Stack Exchange
Viewing all articles
Browse latest Browse all 17

Answer by Recoba20 for How long is it appropriate to keep old feature branches in git?

$
0
0

Feature branches should stay until the feature is done, once done the branch must be closed/deleted. Establishing this kind of behavior should be a team goal and usually takes some time, it's just easier to forget about them in the hurry up I'm ready with my pull request mode.

Keeping all of them makes maintainability harder. You might think that each branch follows a naming convention with a map to a JIRA ticket or whatever kind of mapping you have and it's really straight forward to distinguish them, but that's not the case once you have a dozen of them and even more are constantly piling up. I highly doubt performance has anything to do, it's more like a confusion cost switch.

Regarding the commands, I do not think so.


Viewing all articles
Browse latest Browse all 17

Latest Images

Trending Articles





Latest Images