Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save behdaad/6084afdf5f3fd5176c804ca4a11d2f62 to your computer and use it in GitHub Desktop.
Save behdaad/6084afdf5f3fd5176c804ca4a11d2f62 to your computer and use it in GitHub Desktop.
Remove local branches easily
git branch -d `git branch --merged | grep -v master`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment