nixos-config/scripts/git_clean_remote_deleted

7 lines
90 B
Plaintext
Raw Normal View History

2024-12-17 16:12:37 -03:00
#!/bin/sh
git branch -vv \
| grep ': gone]' \
| awk '{print $1}' \
| xargs git branch -D