From ab2d3d914198cbdedfc21cb790b691ec0e9eb570 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 14 May 2023 18:17:18 +0200 Subject: [PATCH] grm --- bash/alias/git.sh | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) 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="\