3f5qag
Last Updated: February 25, 2016
·
611
· bbcoimbra

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.