git: Syncing local and remote (with deleted) branches git

Sometimes, you delete a branch and if you run
git branch -a
it still listed under /remote.

One way to sync your local branches is to execute the following:
git fetch -p
After fetching, will remove any remote-tracking branches which no longer exist on the remote.

from man git-fetch

Comments

Popular posts from this blog

Como configurar el control de directv para que funcione con el Tv

Show all values in Numpy array

Could not activate celullar data network - Iphone - Movistar