mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
6 lines
203 B
Bash
6 lines
203 B
Bash
#!/usr/bin/env bash
|
|
|
|
echo "Cleaning remote branches"
|
|
git remote prune origin
|
|
echo "Cleaning local branches"
|
|
git for-each-ref --format '%(refname:short)' refs/heads | grep -v master | xargs git branch -D
|