News for hackers. Stuff that matters.
Re:Git tips from the trenches by icecreammatt on Sunday February 02, 2014 @01:49PM (#7166971)
I have an alias that I have created that prevents the branch you are currently on or master from being deleted.

alias gclean='git remote prune origin; git branch --merged | grep -v -E "(\*|master)" | xargs -n 1 git branch -d'

There are no comments on this comment yet.