Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- echo "Before cleanup:";
- git branch;
- echo "----";
- git branch --merged | grep -v "\*" | xargs -n 1 git branch -d;
- echo "----";
- echo "After cleanup:";
- git branch;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement