dotfiles/scripts/git_delete_all_branches.sh
Michael Grote 91aebe2017 bash: fix git-script linter errors
Signed-off-by: Michael Grote <michael.grote@posteo.de>
2024-06-05 19:13:48 +02:00

3 lines
139 B
Bash
Executable file

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