The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Wayne Hsu
January 2, 2018

(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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 4, 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

Wayne Hsu
January 4, 2018

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?

TAGS
AUG Leaders

Atlassian Community Events