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="\