Skip to content

Instantly share code, notes, and snippets.

@popenkomaksim
Created August 18, 2017 12:09
Show Gist options
  • Save popenkomaksim/00546b83a0a3ac6ba35253d67bda7a01 to your computer and use it in GitHub Desktop.
Save popenkomaksim/00546b83a0a3ac6ba35253d67bda7a01 to your computer and use it in GitHub Desktop.
Remove merged local branches
git branch --merged development | grep -v development | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment