Skip to content

Instantly share code, notes, and snippets.

@wkoszycki
Created June 17, 2015 09:27
Show Gist options
  • Save wkoszycki/69191f1158c9c340bf0d to your computer and use it in GitHub Desktop.
Save wkoszycki/69191f1158c9c340bf0d to your computer and use it in GitHub Desktop.
delete merged branches git
git branch --merged master | grep -v master | xargs -n 1 git branch -D
git remote prune origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment