From 9314e369cf943a579a09952b518c355e9a712c38 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Thu, 29 Dec 2022 22:22:13 -0800 Subject: [PATCH] Add `git diff --cached` alias --- src/.gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/.gitconfig b/src/.gitconfig index dd6e970..1711993 100644 --- a/src/.gitconfig +++ b/src/.gitconfig @@ -14,6 +14,7 @@ [ $# -ne 2 ] && echo 'Two arguments required, PR # and branch name' && exit 1; \ git fetch upstream pull/$1/head:$2-$1 && git checkout $2-$1 && git merge master --no-gpg-sign --no-edit; \ }; f" + diffc = diff --cached fixup = commit --amend --no-edit fixup-a = commit -a --amend --no-edit full-diff = !git --no-pager diff