Our team is debating leaving a feature/task branch open vs closing it when we merge that branch into the develop branch through a pull request.
Could we have some input on reasons to keep open vs close?
Couldn't find much information online about this topic and would be good to have some wider opinions.
Thanks
Jake
Actually the branch management looks cleaner and smarter upon closing a branch after merging to the develop branch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you!
I'm fairly used to closing feature branches once that work is part of the main branch as I see no reason (yet) to keep it open, it makes sense for any future updates to be made in a new branch from develop.
Looking forward to hearing any more opinions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jake Walters,
Welcome to the Community!
I'm going to start by saying that I'm sure there are really good reasons for either option, it depends on how you work.
We opt to close branches as soon as a feature has merged. Why? Because it takes seconds to recreate them if you really need something with the same name. However, if we leave them open we need to constantly refresh with a merge from the development branch to keep the branch in sync.
That's my two cents. I'd love to hear the thoughts and opinions from others.
-Jimmy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.