hub sync which will fetch
origin, merge into the local
main branch if possible, and delete any local branches that were deleted remotely 🙌
If you don’t already use
hub then I recommend you take a look ASAP. I’ve use
hub pull-request for some time, but never looked at all the commands it offers like
alias git=hub so I can type
git sync to catch everything up and I ❤️ it.