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