If you are working on a project having lots of feature branches, you’d like to remove all of once your deployment is done and all feature branches merge into master. Following simple command can help you to get rid of them.
git branch | grep 'DB-' | xargs git branch -d
Here DB- is prefix of your feature branch. So, if you have branches […]