Skip to content

Instantly share code, notes, and snippets.

View seanconaty's full-sized avatar

Sean Conaty seanconaty

  • Portland, OR
  • 14:17 (UTC -07:00)
View GitHub Profile
[alias]
# Delete any branches that have been merged except master, development and the current branch
cleanup = !git remote prune origin && git branch --merged | egrep -v '(^\\*|master|develop)' | xargs git branch -d