From 5780c0ed185b4ec98501a3607a8883874070c0b6 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 17 Nov 2024 02:31:52 +0100 Subject: [PATCH] gp,gpd,gpf --- shell/alias/git.sh | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/shell/alias/git.sh b/shell/alias/git.sh index 57c897c..9956b23 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -334,29 +334,28 @@ gmt() { } # push to the remote repository -alias gp="\ -git \ -push \ ---verbose \ ---tags \ -" +gp() { + git \ + push \ + --tags \ + --verbose \ + "${@}" +} # delete from the remote repository -alias gpd="\ -git \ -push \ ---verbose \ ---delete \ -" +gpd() { + git \ + push \ + --delete \ + "${@}" +} # force the push to the remote repository -alias gpf="\ -git \ -push \ ---verbose \ ---tags \ ---force \ -" +gpf() { + gp \ + --force \ + "${@}" +} # rebase current branch onto another alias grb="\