From bf0eba08f7b1d3eab315f3f1c7cf9dbde5873137 Mon Sep 17 00:00:00 2001 From: Ted Kulp Date: Thu, 30 Nov 2023 13:15:16 -0500 Subject: [PATCH] feat: shorter git aliases --- .gitconfig##template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitconfig##template b/.gitconfig##template index 084eb7d..55d20a4 100644 --- a/.gitconfig##template +++ b/.gitconfig##template @@ -34,6 +34,9 @@ [alias] mdr = merge --no-commit --no-ff + dlb = "dead-local-branches" + ddlb = "delete-dead-local-branches" + fdlb = "force-delete-dead-local-branches" dead-local-branches = "!git branch -vv | grep ': gone]'| grep -v '\\*' | awk '{ print $1; }'" delete-dead-local-branches = "!git branch -vv | grep ': gone]'| grep -v '\\*' | awk '{ print $1; }' | xargs -r git branch -d" force-delete-dead-local-branches = "!git branch -vv | grep ': gone]'| grep -v '\\*' | awk '{ print $1; }' | xargs -r git branch -D"