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

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -