Skip to content

Instantly share code, notes, and snippets.

@wyw
Created March 2, 2018 06:02
Show Gist options
  • Save wyw/58e008638e56a0c4f90c5a88e9867e48 to your computer and use it in GitHub Desktop.
Save wyw/58e008638e56a0c4f90c5a88e9867e48 to your computer and use it in GitHub Desktop.
git branch -d $(git branch --merged | awk '{print $1}' | grep -v "*")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment