Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save RomuloOliveira/e3dab78b41889b8f9267c9edcde6ce4f to your computer and use it in GitHub Desktop.

Select an option

Save RomuloOliveira/e3dab78b41889b8f9267c9edcde6ce4f to your computer and use it in GitHub Desktop.
remove merged branches
git branch --merged origin/master | grep -v 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