From 243b7822b6f31faacc42f939c3df11d7ea356f81 Mon Sep 17 00:00:00 2001 From: Jaewook Lee <11328376+jaewooklee93@users.noreply.github.com> Date: Fri, 9 Aug 2024 22:26:53 +0900 Subject: [PATCH] bashrc: git remote to be verbose --- bash_aliases.sh | 4 ++++ 1 file changed, 4 insertions(+) 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