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: 

Removing a branch from sourcetree.

Corey Williams
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 17, 2015

I tried creating branch through source tree by hitting the branch button on the ui. I forgot that I had to create a remote repo too so I did that and hit checkout from the website. I followed the popup that came up in source tree and now I have two of the same branches: one that exists local and remote and another that is just local. I tried to delete the local one but I get the error " Cannot delete the branch 'branch-name' which you are currently on."

 

https://www.dropbox.com/s/p1s0njp4ifue2h7/Screenshot%202015-05-17%2013.16.12.png?dl=0

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Corey Williams
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 17, 2015

Oops, had to checkout to a different branch first. Fixed it.

TAGS
AUG Leaders

Atlassian Community Events