From 8d6dd7e45822772b542121dae7c4ec0ce00b2eae Mon Sep 17 00:00:00 2001 From: Felix Schneider <99918022+trueberryless@users.noreply.github.com> Date: Fri, 29 May 2026 08:07:42 +0200 Subject: [PATCH] feat: add git prune-local command --- dotfiles/vcs/gitconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/vcs/gitconfig b/dotfiles/vcs/gitconfig index 1198f9d..ecf2a6b 100644 --- a/dotfiles/vcs/gitconfig +++ b/dotfiles/vcs/gitconfig @@ -20,3 +20,6 @@ [core] excludesFile = ~/.gitignore + +[alias] + prune-local = "!git fetch -p && git branch -vv | awk '/: gone]/ {print $1}' | grep -v '^\\*' | xargs -r git branch -D" -- 2.51.2