5

after running

git fetch

I can see some branches which are not (anymore) on GitHub (using git branch -a). Why is this? How can I resolve this? It's especially uncomfortable in git-cola, where I can see all these dead branches.

a1337q
  • 770
  • 3
  • 10
  • 20

1 Answers1

4

If there are 'dead' branches that were deleted from another developer/machine, you need to prune your local version of the repository:

git remote prune origin
JScoobyCed
  • 10,203
  • 6
  • 34
  • 58