Daniel Green radfahrer

View clean_merged_branches.sh
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env sh
 
git checkout master
 
for BRANCH in $(git branch --merged | grep -v "*")
do
git branch -d $BRANCH
done
 
git remote prune origin
Something went wrong with that request. Please try again.