i've deleted remote branches (dev/featurea , dev/featureb) when run git remote show origin still see them being listed under local branches section. e.g.
$ git remote show origin local branches configured 'git pull': dev/featurea merges remote dev/featurea dev/featureb merges remote dev/featureb do need disable tracking or similar?
to remove remote repository being tracked locally, following: git remote remove <remoterepo>
to explicitly remove upstream tracking specific local branch , following: git branch --unset-upstream <branch name>
git branch --unset-upstream dev/featurea
to remove stale local branches not longer available @ remote, following:
git remote prune <remoterepo>
i'd careful last 1 , --dry-run of prune first...
more information available http://git-scm.com/docs/git-branch
and
Comments
Post a Comment