Skip to content

Instantly share code, notes, and snippets.

@xtfer
Created April 29, 2016 06:29
Show Gist options
  • Save xtfer/72f9c8ed7029d19500feb2913aaa7ae2 to your computer and use it in GitHub Desktop.
Save xtfer/72f9c8ed7029d19500feb2913aaa7ae2 to your computer and use it in GitHub Desktop.
git branch -r --merged | grep -v master | sed 's/origin\///' | xargs -n 1 git push --delete origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment