Skip to content

Instantly share code, notes, and snippets.

@arathunku
Created May 14, 2015 06:38
Show Gist options
  • Save arathunku/4b4d8190d1bfab905470 to your computer and use it in GitHub Desktop.
Save arathunku/4b4d8190d1bfab905470 to your computer and use it in GitHub Desktop.
clean local merged to the head branches
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment