Skip to content

Instantly share code, notes, and snippets.

@junhoyeo
Last active January 18, 2022 18:37
Show Gist options
  • Save junhoyeo/53ef081259e566d14dd8b4dd53cd9e97 to your computer and use it in GitHub Desktop.
Save junhoyeo/53ef081259e566d14dd8b4dd53cd9e97 to your computer and use it in GitHub Desktop.
Remove all branches
git branch | grep -v "main" | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment