Tyson Zinn
$ git branch | grep -v "master" | sed 's/^[ *]*//' | sed 's/^/git branch -D /' | bash
Delete all your branches except master (useful after archiving branches)
by David Winterbottom (codeinthehole.com)
No comments:
Post a Comment