From bea42cf0f9dbd801b4ced7892af835538106f8e1 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 15 Jun 2017 16:44:30 -0400 Subject: [PATCH] Adds git alias for diffing staged files --- aliases.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aliases.sh b/aliases.sh index eeefdcd9d..facba2ea6 100644 --- a/aliases.sh +++ b/aliases.sh @@ -39,9 +39,11 @@ git config --global alias.recent 'for-each-ref --count=10 --sort=-committerdate # List today's work git config --global alias.today 'log --since=00:00:00 --all --no-merges --oneline --author="$(git config --get user.email)"' - # git commit --amend --no-edit alias gcan='git commit --amend --no-edit' # git commit --amend --no-edit alias gpf='git push --force' + +# git commit --amend --no-edit +alias gds='git diff --staged'