Added cleanup command to remove merged local branches

This commit is contained in:
2025-07-11 14:46:44 +02:00
parent b04a59626e
commit 9fbedf12b1

View File

@@ -10,6 +10,7 @@
pu = pull
r = reset
s = status
cleanup = "!output=$(git fetch -p && git branch -vv | grep ': gone]' | grep -v '*' | awk '{ print $1 }' | xargs -r git branch -d) && if [[ -z \"$output\" ]]; then echo 'No unparented branches deleted'; else echo \"$output\"; fi"
[credential "https://git.zacke.dev"]
provider = generic
[push]