$ git branch --merged | grep -v "\*" | xargs -n 1 git branch -dThis checks if the branch has been merged with master and then will delete the ones that have been. Keeps your local git repo nice and clean from all the branches.
by David Winterbottom (codeinthehole.com)
from All commands http://ift.tt/1CFirhs
No comments:
Post a Comment