git: Syncing local and remote (with deleted) branches git
Sometimes, you delete a branch and if you run
One way to sync your local branches is to execute the following:
git branch -ait still listed under /remote.
One way to sync your local branches is to execute the following:
git fetch -pAfter fetching, will remove any remote-tracking branches which no longer exist on the remote.
from man git-fetch
Comments