github - git local repo caching deleted remotes/origin branches -
i have local repo created git clone
i'm on branch master
i perform git pull , git branch -a
the list of branches includes remotes\origin\branch-x when in fact branch-x has been deleted on github.
how can refresh local repo branches cache reflect state on github ?
use git fetch --prune prune deleted branches. additionally can set default pull or fetch running git config remote.<remote name>.prune true
Comments
Post a Comment