Skip to content

Instantly share code, notes, and snippets.

@andreleoni
Created October 8, 2018 16:18
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 andreleoni/1b782897e60f26a2d678404e9fd8a1b4 to your computer and use it in GitHub Desktop.
Save andreleoni/1b782897e60f26a2d678404e9fd8a1b4 to your computer and use it in GitHub Desktop.
delete all local branches
git branch --merged | grep -v \* | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment