Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@cbartlett
Created October 20, 2018 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cbartlett/18eaad20aa48ee8d3551221a9f593361 to your computer and use it in GitHub Desktop.
Save cbartlett/18eaad20aa48ee8d3551221a9f593361 to your computer and use it in GitHub Desktop.
Remove unused local git branches
git branch --merged master | grep -v ^\* | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment