Follow

I love xargs. Just cleaned up stale phabricator review branches (all prefixed with "phab-") with a tidy one-liner:

`git branch | rg "phab" | xargs git branch -D`

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

The original server operated by the Mastodon gGmbH non-profit