From 335d0a3171715ac3a153bd0b00376a1872ccc601 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Fri, 28 Jun 2024 23:38:06 -0400 Subject: [PATCH] disable second git cleanup Signed-off-by: ahuston-0 --- users/alice/home/git.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/users/alice/home/git.nix b/users/alice/home/git.nix index 284da0c..9ce2d15 100644 --- a/users/alice/home/git.nix +++ b/users/alice/home/git.nix @@ -15,11 +15,11 @@ 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 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 ''; }; extraConfig = {