Skip to content

Instantly share code, notes, and snippets.

@goddoe
Created August 10, 2018 02:38
Show Gist options
  • Save goddoe/69c3cc910bcdc103d989069f33a7f3d7 to your computer and use it in GitHub Desktop.
Save goddoe/69c3cc910bcdc103d989069f33a7f3d7 to your computer and use it in GitHub Desktop.
Remove local merged branch.
git branch --merged >/tmp/merged-branches && vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment