1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2024-12-22 02:50:00 -06:00
dotfiles/fish/functions/git-cleanup.fish
2022-03-06 23:48:41 -05:00

4 lines
138 B
Fish

function git-cleanup
git fetch -p ; and git branch -vv | grep ': gone]' | grep -v "\*" | awk '{ print $1; }' | xargs git branch -D
end