/ Published in: Bash
                    
                                        
http://yuji.wordpress.com/2010/06/11/git-delete-remote-branch/
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
# 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
URL: http://kparal.wordpress.com/2011/04/15/git-tip-of-the-day-pruning-stale-remote-tracking-branches/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                