Remove branches merged into master

Written by Yuva on March 17, 2013; tagged under

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