title: how to delete a branch from a repo in sourcetree with only 1 branch?
body: <p>I have SourceTree installed on my local environment.  I'm working within a shared collection of git repos for at an enterprise.  Looks like the admin created a new repo RepoY and we previously only had 1 repo (RepoX).  I accidentally created BranchZ in RepoY and I need to delete it.</p>
  
  <p>I selected BranchZ through SourceTree under RepoY, right-clicked and I was able to "Remove" it but now it displays with a red minus sign to the left. I tried to "Delete" the branch but SourceTree returns the following error: "error: Cannot delete the branch 'BranchZ' which you are currently on."</p>
  
  <p>I'm not able to switch branches within the repo because BranchZ is the only branch in the repo.  If I double-click a different repo in SourceTree then I can only delete RepoY but not BranchZ within RepoY.  Is there a way to do what I'm trying to do through SourceTree or is this a limitation of SourceTree?</p>