From 00483a3c4d974c139530102045ad161ae79083d3 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Tue, 13 Sep 2022 14:16:40 -0700 Subject: [PATCH] Add git shortstat and numstat shorthand aliases --- src/.gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/.gitconfig b/src/.gitconfig index 201b3b6..4a296b8 100644 --- a/src/.gitconfig +++ b/src/.gitconfig @@ -17,6 +17,7 @@ ls = log --pretty=format:"%C(yellow)%h%C(red)%d%C(reset)\\ %s\\ %C(blue)%C(bold)[%aN]%C(reset)" --decorate lsd = log --pretty=format:"%C(yellow)%h\\ %ad%C(red)%d%C(reset)\\ %s\\ %C(blue)%C(bold)[%aN]%C(reset)" --decorate --date=short lsdr = log --pretty=format:"%C(yellow)%h\\ %ad%C(red)%d%C(reset)\\ %s\\ %C(blue)%C(bold)[%aN]%C(reset)" --decorate --date=relative + numstat = diff --numstat pullf = pull --ff-only pullfsur = !git pull --ff-only && git submodule update --recursive pullr = pull --rebase @@ -24,6 +25,7 @@ pullrsur = !git pull --rebase && git submodule update --recursive pullrsurp = !git pull --rebase && git submodule update --recursive && git push reword = commit --amend + shortstat = diff --shortstat sur = submodule update --recursive [apply] whitespace = fix