From 613e4799de01c23a14cf13a424ba0707efda7dc9 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Tue, 6 Aug 2019 14:42:56 -0600 Subject: [PATCH] added git branch cleanup tool --- bash/utility | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/utility b/bash/utility index c4fc800..525307b 100644 --- a/bash/utility +++ b/bash/utility @@ -6,3 +6,6 @@ NOTE_EXTENSION='.txt'; alias mynotes='cd $NOTE_PATH'; function note() { vim $NOTE_PATH/$1$NOTE_EXTENSION; } function notes() { NOTE="$NOTE_PATH/$1$NOTE_EXTENSION"; [ $1 ] && [ -f $NOTE ] && vim $NOTE || vim $NOTE_PATH; } + +# --- GIT ----------------------------------------------------- +alias gitbranchcleanup='git branch -d $(git branch | sed -E "/develop|master|\*/d")'