'git branch -a' still showing deleted remote branch in the remote repo?

Viewed 3033

I have uploaded (pushed the entire local branch) to the remote repo. I have merged it with master and deleted it in the remote repo (on github.com)

Running git branch -a still shows it in the console:

$ git branch -a
* master
  remotes/hivauz/master
  remotes/hivauz/new_local_branch

What's the reason, does github need time to update it?

1 Answers

You have to run git fetch --all --prune in order to remove the remote branch reference in your local environment.

Related