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: 

How do you abandon a branch?

Doug Sands
May 11, 2016

What is the correct way to abandon a branch that led down an unsuccessful path?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Tim Crall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 11, 2016

Alternatively, just leave it dangling there.  It does very little harm.  Except that it's annoying when it shows up on your branches lisst.

If you tag the last commit on the branch and then delete the branch, you can still retrieve the commit if you need to and it doesn't show up on your branches list.

1 vote
Rich Duncan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 11, 2016

If you don't think you'll use it again, simply delete it (on the server).

Tim Crall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 11, 2016

I'd probably phrase that a little stronger as "if you're quite certain you'll never use it again" . . .

TAGS
AUG Leaders

Atlassian Community Events