Skip to content

Instantly share code, notes, and snippets.

@Rebolon
Created September 27, 2017 08:46
Show Gist options
  • Save Rebolon/81d57bd13fe8e14acfb9c995177c4124 to your computer and use it in GitHub Desktop.
Save Rebolon/81d57bd13fe8e14acfb9c995177c4124 to your computer and use it in GitHub Desktop.
clean git branch
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