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.

2
  • aren't these local branches ? Commented Nov 19, 2012 at 12:45
  • 3
    Possible duplicate (but applied to GitHub): stackoverflow.com/a/3184742/1012381 Commented Nov 19, 2012 at 12:47

1 Answer 1

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 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.