git branch --merged | egrep -v "(^\*|master)" | xargs git branch -d
git fetch --prune
This might be more conservative than git fetch --prune
.
git remote prune origin
git gc
git branch --merged | egrep -v "(^\*|master)" | xargs git branch -d
git fetch --prune
This might be more conservative than git fetch --prune
.
git remote prune origin
git gc