feature/signoff #28

Merged
ahuston-0 merged 4 commits from feature/signoff into main 2025-03-04 01:48:40 -05:00
Showing only changes of commit 0a4b64dc25 - Show all commits

View File

@ -11,15 +11,15 @@
userName = "ahuston-0";
aliases = {
gone = ''
# !git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | # dump all branches
# awk '$2 == "[gone]" {print $1}' | # get nuked branches
# sed 's/\\x27/\\x5C\\x27/' | # remove single quotes, for xargs reasons
# xargs -r git branch -D; # nuke the branches #
!git for-each-ref --format '%(refname:short) %(upstream)' | # dump all older branches
awk 'NF < 2 {print $1}' | # get nuked branches
grep -Pv "(^origin/|^origin$|stash)" | # filter out remotes & stash
sed 's/\\x27/\\x5C\\x27/' | # remove single quotes, for xargs reasons
xargs -r git branch -D # nuke the branches
# !git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | # dump all branches
# awk '$2 == "[gone]" {print $1}' | # get nuked branches
# sed 's/\\x27/\\x5C\\x27/' | # remove single quotes, for xargs reasons
# xargs -r git branch -D; # nuke the branches #
'';
};
extraConfig = {
@ -27,6 +27,7 @@
pull.rebase = true;
color.ui = true;
init.defaultBranch = "main";
format.signoff = true;
};
};
}