curtis1000
8/19/2016 - 9:05 PM

git purge script (for squashing on github)

git purge script (for squashing on github)

# helper to clean your local branch list when using the 'squash on github' merge strategy

git config --global alias.purge '!git branch -vv | awk '\''/: gone]/{print $1}'\'' | xargs git branch -D && :'