dotfiles/scripts/git_delete_all_branches.sh
Michael Grote 947024fcf1 chmod +x
Signed-off-by: Michael Grote <michael.grote@posteo.de>
2024-01-25 10:14:22 +01:00

2 lines
111 B
Bash
Executable file

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