Add 2 aliases to ~/.gitconfig file.
- deletes all local branches which were deleted remotely.
git cleanup- switches to seleted branch (
masterby default) - pulling changes from remote server
- deletes all local branches which were deleted remotely
git goSame command, but with another branch name to switch to.
git go any-custom-branch-name