dotfiles/scripts/git_delete_all_branches.sh

3 lines
111 B
Bash
Raw Normal View History

2024-01-25 09:53:09 +01:00
#!/bin/bash
git branch | grep -v "*" | grep -v master | grep -v main | xargs git branch -D ; git fetch --prune