Skip to content

Instantly share code, notes, and snippets.

@stringparser
Created December 19, 2017 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stringparser/018bbcd3e69c42f1a289625bb39c2a6c to your computer and use it in GitHub Desktop.
Save stringparser/018bbcd3e69c42f1a289625bb39c2a6c to your computer and use it in GitHub Desktop.
prune this, grune that
alias grune='git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d'
alias drune='docker rm $(docker ps -aq)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment