1

Following the advice here How do I delete a local branch on Github Desktop? I went ahead and deleted some dead branches on the github website. The problem is that others can still see them. I was told that this is because the branches are still on my local repository, but when I look at Github Desktop, it asks me if I want to publish these dead branches, which makes me think they should not currently be visible.

What could be going on here?

Community
  • 1
  • 1
helloB
  • 2,912
  • 8
  • 31
  • 73

1 Answers1

1

It's most of a year since the original question, but I just started using github desktop and I see the problem too. Did you ever find an answer? Maybe this is all by design: just because you delete the remote branch doesn't necessarily mean you wanted to delete the local branch.

Interesting: if I try to delete the branch from the gear menu in github desktop within a few minutes after having deleted it on the website, github desktop brings up a dialog saying the branch exists on both local and remote and asks if I'd like to delete both. Canceling from that and then trying the same delete branch item from the gear menu a few minutes later, it does not bring up that dialog and just silently deletes the local branch. I had hit 'Sync' a few times in that intervening time, so maybe that's what did it.

Tom Grundy
  • 518
  • 2
  • 20
  • Tom thanks for your answer. I still have this issue and was only able to delete the branch via command line arguments. Also the more I learn about github desktop (not much) the more it seems it's intentionally only a subset of all options, so it's possibly just not there. – helloB Nov 21 '16 at 17:58