From c41c49c30dfeec0f5ca7844b797f70fbc4f50b9d Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 14 May 2023 18:50:19 +0200 Subject: [PATCH] grb --- bash/alias/git.sh | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/bash/alias/git.sh b/bash/alias/git.sh index d252628..1498ef1 100644 --- a/bash/alias/git.sh +++ b/bash/alias/git.sh @@ -182,19 +182,38 @@ alias gpd='git push --delete --verbose' alias gpf='git push --tags --verbose --force' # rebase current branch onto another -alias grb='git rebase' +alias grb="\ +git \ +rebase \ +" # abort current rebase -alias grba='git rebase --abort' +alias grba="\ +git \ +rebase \ +--abort \ +" # continue current rebase -alias grbc='git rebase --continue' +alias grbc="\ +git \ +rebase \ +--continue \ +" # force rebase without fast-forward -alias grbf='git rebase --no-ff' +alias grbf="\ +git \ +rebase \ +--force-rebase \ +" # rebase interactively -alias grbi='git rebase --interactive' +alias grbi="\ +git \ +rebase \ +--interactive \ +" # remove and add to index alias grm="\