Skip to content

Instantly share code, notes, and snippets.

@technoY2K
Created November 2, 2020 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save technoY2K/8928bf355805bc8a6e295798b057f513 to your computer and use it in GitHub Desktop.
Save technoY2K/8928bf355805bc8a6e295798b057f513 to your computer and use it in GitHub Desktop.
git branch -r --merged | egrep -v "(^\*|master|dev)" | sed 's/origin\///' | xargs -n 1 git push origin --delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment