Friday, November 20, 2009

Delete remote tracking branch in git


# Show remote branches tracked
git branch -r

# Delete one by one
git branch -d -r origin/branch

# Delete with one swoop
git remote prune origin

No comments: