Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.

Thanks 

Jake

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.

-Jimmy

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

Comment

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,576 views 1 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