Remove local references to remote branches that is no more in Git
into your git project directory execute
$ git remote prune --dry-run origin
This command will displays the local references to remote branches that have been removed.
If you want indeed remove the branches, just remove --dry-run option.
Written by Bruno Coimbra
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#