Return to Snippet

Revision: 56020
at March 7, 2012 02:53 by beneberle

Initial Code
# see what's out there
git remote show origin

# remove the remote branch 'branch-name'
git push origin :branch-name

# see what branches are only on local and no longer tracked
git remote prune origin --dry-run

# run again without --dry-run to actually prune the local branch

Initial URL

Initial Description

Initial Title
Git prune remote and local branches

Initial Tags

Initial Language