Skip to content

Instantly share code, notes, and snippets.

@jonocairns
Created October 31, 2018 20:19
Show Gist options
  • Save jonocairns/13c0bda70534f179be548157a0f638cc to your computer and use it in GitHub Desktop.
Save jonocairns/13c0bda70534f179be548157a0f638cc to your computer and use it in GitHub Desktop.
git config --global alias.clean-branches "!git branch | grep -v master | xargs git branch -D"
-- `git clean-branches`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment