From c4bdeffdd0716d7e7dd1f8ab3be43a60029a7052 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Wed, 1 Jul 2026 17:46:05 +0200 Subject: git: neuer Alias zum aufräumen unnötiger branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/config b/git/config index 1ea1370..c45c684 100644 --- a/git/config +++ b/git/config @@ -34,4 +34,4 @@ [alias] lg = log --color --graph --pretty=format:'%C(magenta)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches - + cleanup = "!git branch --merged master --format='%(refname:short)' | grep -v '^master$' | xargs -r git branch -d" -- cgit v1.3