Created
October 29, 2018 12:19
-
-
Save tgallacher/cae12db973a235b52e9e5b014d21d633 to your computer and use it in GitHub Desktop.
Shell aliases
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
# Remove merged branches from local repo. | |
alias git_prune_branches='git fetch && git remote prune origin && git br -v | grep gone | awk '"'"'{print $1;}'"'"' | xargs -n 1 git br -d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment