Add git diff command for a very specific purpose
This commit is contained in:
+1
-1
@@ -152,6 +152,7 @@ if has git; then
|
||||
alias gcsam="git commit -S -am"
|
||||
alias gct='git checkout --track'
|
||||
alias gd='git diff'
|
||||
alias gdt="git diff --staged -- ':!*test*'"
|
||||
alias gdel='git branch -D'
|
||||
alias gds='git diff --staged'
|
||||
alias gdv='git diff -w "$@" | vim -R -'
|
||||
@@ -360,4 +361,3 @@ localprofile="$HOME/.local/profile"
|
||||
if [ -f "$localprofile" ]; then
|
||||
. "$localprofile"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user