Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/zsh -eu
- function __info() {
- echo -e "\e[32m$*\e[m"
- }
- __info "# git fetch --prune"
- git fetch --prune
- __info "# git branch -d <branch>"
- for b in $(git branch | grep -v '*'); do
- git branch -d "$b"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement