Skip to content

Instantly share code, notes, and snippets.

@serhiinkh
Created September 29, 2017 09:28
Show Gist options
  • Save serhiinkh/81ebd8087c45eaf18891b8dbcc9c6b30 to your computer and use it in GitHub Desktop.
Save serhiinkh/81ebd8087c45eaf18891b8dbcc9c6b30 to your computer and use it in GitHub Desktop.
Git branch cleanup
git branch | grep -v "master\|development" | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment