3 ms·
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 bran
by icecreammatt 13y ago
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'