6 lines
102 B
Bash
6 lines
102 B
Bash
#!/usr/bin/env sh
|
|
|
|
git branch --merged | \
|
|
grep -v "(^\*|master|main|dev)" | \
|
|
xargs git branch -dr
|