1
0
Fork 0
mirror of https://github.com/SeriousBug/dotfiles synced 2024-11-01 03:27:26 -05:00
dotfiles/fish/functions/git-cleanup.fish

4 lines
138 B
Fish
Raw Normal View History

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