diff --git a/base/.profile b/base/.profile index 7df30cb9..0e00d7e4 100755 --- a/base/.profile +++ b/base/.profile @@ -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 -