Removing a branch from sourcetree.

Corey Williams 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

2 votes
Corey Williams May 17, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events