From 2be34bf81448bb263e7752c8ed4869ab4b9a62b9 Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Mon, 16 Aug 2021 16:11:41 +0200 Subject: Add alias for grepping all branches --- .config/git/config | 1 + 1 file changed, 1 insertion(+) (limited to '.config') diff --git a/.config/git/config b/.config/git/config index 1fee5a1..6e8fd28 100644 --- a/.config/git/config +++ b/.config/git/config @@ -99,6 +99,7 @@ g = grep -I gr = grep -I + gra = "!sh -c 'git grep "$0" "$@" "$(git for-each-ref --format=\"%(refname)\"" refs/)'" grep = grep -I log = log --graph -- cgit v1.2.3