I'm trying to delete all of my merged branches. I've always used
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d
but for some reason it won't work anymore, even though I've used this command before. It returns the error "Fatal: branch name required"