From 79b5c724e4ebadfdc8ce09e27340debab65bf10c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 17 Nov 2024 02:53:03 +0100 Subject: [PATCH] remote --- shell/alias/git.sh | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/shell/alias/git.sh b/shell/alias/git.sh index 3517ea0..87a4978 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -404,32 +404,28 @@ grm() { } # add a new remote repository -alias grma="\ -git \ -remote \ -add \ -" +grma() { + git \ + remote \ + add \ + "${@}" +} # list remote repositories -alias grml="\ -git \ -remote \ ---verbose \ -" - -# show a connection to a repository -alias grms="\ -git \ -remote \ -show \ -" +grml() { + git \ + remote \ + --verbose \ + "${@}" +} # set the location of the remote repository -alias grmsu="\ -git \ -remote \ -set-url \ -" +grms() { + git \ + remote \ + set-url \ + "${@}" +} # remove file(s) from index or move current branch pointer alias grs="\