Skip to content

Instantly share code, notes, and snippets.

@albertski
Last active August 3, 2023 17:39
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 albertski/3770f750a286748a383debc7cc0e4494 to your computer and use it in GitHub Desktop.
Save albertski/3770f750a286748a383debc7cc0e4494 to your computer and use it in GitHub Desktop.
My Aliases

My Aliases

alias gitclean="git branch --merged | egrep -v \"(^*|master|main)\" | xargs git branch -d; git remove prune origin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment