Remove branches merged into master
Run the following command to remove all tracking branches that are merged to master
git branch --merged master | sed /master/d | xargs -n 1 git branch -d
If you have any questions or feedback, feel free to drop us a mail at team@codemancers.com.