Is there a good way to see when or all local branches which has been setup to track a remote branch where the remote branch has been removed?
example.
I track the remote branch hotfix and it is removed on remote (usually due to being merged into dev). I would like to see this somehow so that I can take action (normally being to remove my local branch).
Is there a good way to do this?
You could try, after a
git fetch:to check if there is any stale tracking branch: