Added hard git cleanup

This commit is contained in:
2025-07-16 15:43:08 +02:00
parent 9fbedf12b1
commit 88bd68d93e

View File

@@ -11,6 +11,7 @@
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"
cleanup-hard = "!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]