dotfiles/slackware/bin/prune_local_branches
2022-06-07 15:44:19 -04:00

3 lines
116 B
Bash
Executable file

#!/bin/bash
git fetch --all -p; git branch -vv | grep ": gone]" | awk '{ print $1 }' | xargs -r -n 1 git branch -D