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 votes
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
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

985 views 2 3
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