Re:Fork: A fast and friendly Git client for Mac and Windows
by jmiserez on Wednesday July 24, 2019 @03:00AM
(#20512912)
>mark branches which are only local and have no remote, so you can easily purge old branches after they're merged.
git fetch --prune
EDIT: Then you can see which ones don't exist on the remote
git branch -v
which will show [gone] if it's a tracked branch but the corresponding upstream branch isn't there anymore. Use -vv to show the upstream branch names as well.
See:
- https://git-scm.com/docs/git-fetch#_pruning
- https://git-scm.com/docs/git-fetch