yoshuawuyts / knowledge

notes on things
846 stars 46 forks source link

git #20

Closed yoshuawuyts closed 9 years ago

yoshuawuyts commented 9 years ago
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d

from: http://stackoverflow.com/questions/6127328/how-can-i-delete-all-git-branches-which-have-been-merged

yoshuawuyts commented 9 years ago

added in https://github.com/yoshuawuyts/binsauce/commit/cf76303eb3864f608e2cb6dbefc7fea680934742