From a065830fd4aca608b1b6ef06c52be20175442f5d Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Thu, 20 Jul 2023 22:43:19 +0200 Subject: [PATCH] git: add aliases for diff staged changes --- config/git/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/git/config b/config/git/config index 5b6a5d0..dd33423 100644 --- a/config/git/config +++ b/config/git/config @@ -6,7 +6,9 @@ cm = commit --verbose co = checkout d = diff + dc = d --cached ds = !GIT_PAGER=\"delta-wrapper --side-by-side\" git diff + dcs = ds --cached l = log --graph --pretty=basic ln = log --graph --pretty=name ll = log --graph --decorate --stat