Skip to content

Instantly share code, notes, and snippets.

@AlexanderRD
Created November 21, 2014 10:57
Show Gist options
  • Save AlexanderRD/f929240dca9d0f7016c7 to your computer and use it in GitHub Desktop.
Save AlexanderRD/f929240dca9d0f7016c7 to your computer and use it in GitHub Desktop.
Delete all branches that have been merged into current branch
$ git branch --merged | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment