#!/bin/bash # shellcheck disable=SC2063 git branch | grep -v "*" | grep -v master | grep -v main | xargs git branch -D ; git fetch --prune