diff --git a/bash/alias/git.sh b/bash/alias/git.sh index f2f2ec2..d252628 100644 --- a/bash/alias/git.sh +++ b/bash/alias/git.sh @@ -196,20 +196,39 @@ alias grbf='git rebase --no-ff' # rebase interactively alias grbi='git rebase --interactive' -# list all remote repositories -alias grm='git remote' +# remove and add to index +alias grm="\ +git \ +rm \ +" # add a new remote repository -alias grma='git remote add' +alias grma="\ +git \ +remote \ +add \ +" # list remote repositories -alias grml='git remote --verbose' +alias grml="\ +git \ +remote \ +--verbose \ +" # show a connection to a repository -alias grms='git remote show' +alias grms="\ +git \ +remote \ +show \ +" # set the location of the remote repository -alias grmu='git remote set-url' +alias grmsu="\ +git \ +remote \ +set-url \ +" # remove file(s) from index or move current branch pointer alias grs="\