diff --git a/bash_aliases.sh b/bash_aliases.sh index a1bdf89..e6efe82 100644 --- a/bash_aliases.sh +++ b/bash_aliases.sh @@ -65,6 +65,7 @@ alias status="git status ." alias push="git push" alias pull="git pull" alias add="git add" +alias remote="git remote -v" commit() { git commit -m "$*" @@ -74,6 +75,9 @@ git() { if [[ "$1" == "diff" ]]; then shift command git diff --staged "$@" + elif [[ "$1" == "remote" ]]; then + shift + command git remote -v "$@" else command git "$@" fi