bashrc: git remote to be verbose
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user