Created
April 17, 2015 19:01
-
-
Save tedkulp/5fc8563f906d501caa32 to your computer and use it in GitHub Desktop.
Cleanup removed/merged remote branches and the local branches that tracked them
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias grcl='git checkout master && git pull && git remote prune origin && git branch -avv | grep "gone]" | awk '\''{ print $1 }'\'' | xargs git branch -d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment