Skip to content

Instantly share code, notes, and snippets.

@ab-budaev
Created May 27, 2019 13:28
Show Gist options
  • Save ab-budaev/fd6732083745f86343bab903f1bac6eb to your computer and use it in GitHub Desktop.
Save ab-budaev/fd6732083745f86343bab903f1bac6eb to your computer and use it in GitHub Desktop.
Small bash console command to remove old git branches
git branch --merged >/tmp/merged-branches && vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment