Can someone help me figure out what is wrong with this line in the .gitconfig file?
[alias]
db = !git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
The command itself works, I followed this post ( How to remove all git branches that were merged? )
But when I run the alias "git db", it will fail with "fatal: bad configuration file line 22" that points to this line in my .gitconfig file
source
share