From 17a5a0e946d28cc71172bf7f2f64877d7801bd23 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 15 Feb 2019 14:05:49 +0000 Subject: [PATCH] Add local alias for listing non-remote branches --- config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config b/config index f17f77b..2499e8c 100644 --- a/config +++ b/config @@ -15,6 +15,9 @@ prepare = rebase -i --fork-point list = branch + local = !git branch -vv | \ + cut -c 3- | \ + awk '$3 !~/\\[/ { print $1 }' create = checkout -b delete = branch -D refname = rev-parse --abbrev-ref HEAD