From a6a4f5660b3b99a38324694dc72c281cef997e27 Mon Sep 17 00:00:00 2001 From: Sam Willcocks Date: Thu, 2 Jul 2026 11:06:57 +0100 Subject: [PATCH] git: unpushed alias --- home/git.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/git.nix b/home/git.nix index 5534044..b0c7ec8 100644 --- a/home/git.nix +++ b/home/git.nix @@ -41,6 +41,7 @@ st = "status"; sw = "switch"; swc = "switch --create"; + unp = "log --branches --not --remotes --no-walk --decorate --oneline"; gone = ''! git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' │ awk '$2 == "[gone]" {print $1}' | xargs -r git branch -D''; };