Skip to content

Instantly share code, notes, and snippets.

@y2468101216
Created May 14, 2018 03:56
Show Gist options
  • Save y2468101216/40cb670f5fb36a593ec70cf04445ad7f to your computer and use it in GitHub Desktop.
Save y2468101216/40cb670f5fb36a593ec70cf04445ad7f to your computer and use it in GitHub Desktop.

git branch -r --merged | egrep -v "(^*|master|dev|qa|release)" | sed 's/origin//:/' | xargs -n 1 git push origin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment