From e5c43ae6769fc8d1daf93e3d6bc9ff0cccf59d62 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 17 Nov 2024 02:54:03 +0100 Subject: [PATCH] reset --- shell/alias/git.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/shell/alias/git.sh b/shell/alias/git.sh index 87a4978..7a74031 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -428,17 +428,19 @@ grms() { } # remove file(s) from index or move current branch pointer -alias grs="\ -git \ -reset \ -" +grs() { + git \ + reset \ + "${@}" +} # wipe modifications or reset current branch to another commit -alias grsh="\ -git \ -reset \ ---hard \ -" +grsh() { + git \ + reset \ + --hard \ + "${@}" +} # current state of repository alias gs="\