Skip to content

Instantly share code, notes, and snippets.

@claudio-scandura
Created June 28, 2018 10:18
Show Gist options
  • Save claudio-scandura/168ab658585c8c5ea5fbc93f71c94d69 to your computer and use it in GitHub Desktop.
Save claudio-scandura/168ab658585c8c5ea5fbc93f71c94d69 to your computer and use it in GitHub Desktop.
Useful aliases
alias git-clean-branches='git branch --merged | grep -v -e master -e "*" | xargs git branch -d'
alias docker-cleanup='docker rm -fv $(docker ps -a -q -f status=exited)'
alias docker-killall='docker rm -fv $(docker ps -qa)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment