From e93728cdc5b0a17a54c3f4d1ab1eb4a2cc0d6b71 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 14 May 2023 18:11:10 +0200 Subject: [PATCH] grs --- bash/alias/git.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/bash/alias/git.sh b/bash/alias/git.sh index 5d1c42e..f2f2ec2 100644 --- a/bash/alias/git.sh +++ b/bash/alias/git.sh @@ -212,16 +212,17 @@ alias grms='git remote show' alias grmu='git remote set-url' # remove file(s) from index or move current branch pointer -alias grs='git reset' - -# move current branch pointer to the development branch -alias grsd='git reset dev' +alias grs="\ +git \ +reset \ +" # wipe modifications or reset current branch to another commit -alias grsh='git reset --hard' - -# reset current branch to the development branch -alias grshd='git reset --hard dev' +alias grsh="\ +git \ +reset \ +--hard \ +" # current state of repository alias gs='git status --untracked-files=all'