Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Pull request into develop branch - should you close feature branch on merge?

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.



1 comment

Jimmy Seddon Community Leader Apr 20, 2020

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.


Like # people like this

Hi @Jimmy Seddon 

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.

Like # people like this

Hi @Jimmy Seddon  

Actually the branch management looks cleaner and smarter upon closing a branch after merging to the develop branch

Like # people like this
Jimmy Seddon Community Leader May 02, 2020

Agreed @Kemboi!  Another good reason to opt for closing branches vs leaving them open.

Like # people like this


Log in or Sign up to comment
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,239 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you