I would like to check which of my local branch are closed on remote server and remove them from my local list - is there such git
(or any other e.g.bash
) command?
My current flow:
git branch
to list my local branches- log in to bitbucket/github/other git hosting service and check which branches are closed
- delete branches locally with command:
git branch -d branch_name
Any tips/help will be appreciated.