diff --git a/linux-bash/bash_aliases.sh b/linux-bash/bash_aliases.sh index b5f7b4b..4c86156 100644 --- a/linux-bash/bash_aliases.sh +++ b/linux-bash/bash_aliases.sh @@ -97,10 +97,7 @@ commit() { } git() { - if [[ "$1" == "diff" ]]; then - shift - command git diff --staged "$@" - elif [[ "$1" == "remote" ]]; then + if [[ "$1" == "remote" ]]; then shift command git remote -v "$@" elif [[ "$1" == "status" ]]; then