dotfiles/slackware/home/bin/scripts/prune_local_branches
2022-07-08 22:10:57 -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