/ Published in: Bash
URL: http://kparal.wordpress.com/2011/04/15/git-tip-of-the-day-pruning-stale-remote-tracking-branches/
http://yuji.wordpress.com/2010/06/11/git-delete-remote-branch/
Expand |
Embed | Plain Text
# 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
You need to login to post a comment.
