Skip to content

Instantly share code, notes, and snippets.

@lkopocinski
Created February 12, 2018 08:25
Show Gist options
  • Save lkopocinski/d52eac4c0e26f6bdb9f25baeece87bae to your computer and use it in GitHub Desktop.
Save lkopocinski/d52eac4c0e26f6bdb9f25baeece87bae to your computer and use it in GitHub Desktop.
Git branches aliases
[alias]
po = !git remote prune origin
dm = !git branch --merged | grep -E -v \"master|develop\" | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment