Skip to content

Instantly share code, notes, and snippets.

@eoikonomou
Created April 20, 2020 07:35
Show Gist options
  • Save eoikonomou/538c85af8b315e0b8f142712c7b004a9 to your computer and use it in GitHub Desktop.
Save eoikonomou/538c85af8b315e0b8f142712c7b004a9 to your computer and use it in GitHub Desktop.
Delete merged branches
git branch -d $(git branch --merged |tail -n +2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment