dotfiles/scripts/git_delete_all_branches
Michael Grote 5e88bf3f74
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
bash: remove suffix from git scripts
Signed-off-by: Michael Grote <michael.grote@posteo.de>
2024-06-05 19:14:32 +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