From 1e50554a785e32ee8405bc4a6a648fd4edfedfc2 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 8 Nov 2021 11:47:47 +0100 Subject: [PATCH] Revert "git: alias" This reverts commit 3445da0d7295d87594c4166d5df317b43b098f0c. --- .gitconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitconfig b/.gitconfig index 6357604..af2255e 100644 --- a/.gitconfig +++ b/.gitconfig @@ -11,6 +11,10 @@ remote = remote -v sp = stage -p last = log -1 HEAD --stat + # Delete all local branches but master and the current one, only if they are fully merged with master. + delbranches = "!f(){\ + - git branch | grep -v "master" | grep -v ^* | xargs git branch -d;\ + }; f" dellast = reset HEAD^1 [core] editor = vim