From 4aaa1e1e64c8700bd955fcdafa04f67946621655 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 22 May 2023 16:41:21 +0200 Subject: [PATCH] Add linediff alias --- home/.config/git/config | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.config/git/config b/home/.config/git/config index 12dbdaa..4af1c67 100644 --- a/home/.config/git/config +++ b/home/.config/git/config @@ -42,6 +42,7 @@ ds = "diff --staged" dw = "diff --word-diff" dcm = "!sh -c 'git diff $0~ $0'" + linediff = "!sh -c 'git diff --unified=0 $1 $2 | grep -Po \"(?<=^\\+)(?!\\+\\+).*\" '" b = "branch" ba = "branch --all"