Skip to content

Instantly share code, notes, and snippets.

@nekova
Created July 10, 2015 03:31
Show Gist options
  • Save nekova/c5577c2c8bd2d874871e to your computer and use it in GitHub Desktop.
Save nekova/c5577c2c8bd2d874871e to your computer and use it in GitHub Desktop.
git cleanup branch
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment