Files
consultant-windows/.gitconfig
2025-07-16 15:43:08 +02:00

19 lines
721 B
INI

[alias]
a = add
b = branch
c = commit
cl = clone
co = checkout
cp = cherry-pick
m = merge
p = push --follow-tags
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"
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]
autoSetupRemote = true