Added hard git cleanup
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user