Is there an option that whether or not to delete remote branch when I finish a feature? Edited

(Sorry for any grammatical mistakes.)

My friend and I did the same steps below by SourceTree:

  1. create a feature named "TEST-1234_AAAA" from Develop and switch to it
  2. edit a file and make a commit
  3. push "TEST-1234_AAAA" to our Git server
  4. finish and delete "TEST-1234_AAAA"

Somehow we got different results,
my feature on remote was still alive, but his got deleted.

Here is my output message during feature finishing:

GrOdu

and here is his output message:

8Ilzz


Is there any option or setting can cause the difference?

I would be thankful for any help.

1 answer

0 vote
Mike Corsaro Atlassian Team Jan 04, 2018

Hello! When finishing a feature with git-flow, check your settings and see if "Delete branch" is checked. I suspect it's checked on one, and not the other:

deletebranch.PNG

Hi Mike,

Thanks for your response.

We both checked that option certainly, and the local feature both got deleted. But as far as I know, this shouldn't affect the feature we pushed before on remote.

What bothers me is why did his feature on remote got deleted, too?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

647 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you