commit 51dd711aef33eb01c944ce01748e87524dfcb600
parent 86c21c1e37b0477bf8afa4010e094be035420208
Author: Byron Torres <b@torresjrjr.com>
Date: Tue, 22 Jun 2021 01:29:56 +0100
Alias 'gitd', 'gitds' to `git diff [--staged]`
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sh/.rc.sh b/sh/.rc.sh
@@ -30,11 +30,12 @@ alias grep='grep --color=auto'
alias gits='git status -s'
alias gitss='git status -v'
+alias gitd='git diff'
+alias gitds='git diff --staged'
alias gitl='git log --oneline --decorate --graph --all -10'
alias gitll='git log --oneline --decorate --graph --all'
alias gitlf='git log --oneline --decorate --graph --color \
- HEAD origin/HEAD "$(git merge-base HEAD origin/HEAD)^!"
-'
+ HEAD origin/HEAD "$(git merge-base HEAD origin/HEAD)^!"'
## Functions