Skip to content

Instantly share code, notes, and snippets.

@hirokazumiyaji
Created October 9, 2015 02:03
Show Gist options
  • Save hirokazumiyaji/f7e1d878d74352213203 to your computer and use it in GitHub Desktop.
Save hirokazumiyaji/f7e1d878d74352213203 to your computer and use it in GitHub Desktop.
git remote branch remove(branch hit feature)
for b in `git bra --merged | grep feature | sed -e 's/remotes\/origin\///g' | head -n 10`; do git push origin :$b; sleep 1; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment