loading...

re: Git: Delete merged branches VIEW POST

FULL DISCUSSION
 

Add it as an alias in your ~/.gitconfig:

[alias]
    delete-merged = git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d
 

Great idea!

Code of Conduct Report abuse