Skip to content

Instantly share code, notes, and snippets.

@jjgonecrypto
Created October 31, 2012 15:20
Show Gist options
  • Select an option

  • Save jjgonecrypto/3987615 to your computer and use it in GitHub Desktop.

Select an option

Save jjgonecrypto/3987615 to your computer and use it in GitHub Desktop.
git remove local merged branches
git branch --merged master | grep -v 'master$' | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment