From 033999e9f6243165c45e2bbbb803db81fc660756 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 17 Nov 2024 02:58:43 +0100 Subject: [PATCH] gs,gsc --- 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 00bc731..a95c7f5 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -443,17 +443,19 @@ grsh() { } # current state of repository -alias gs="\ -git \ -status \ ---untracked-files=all \ -" +gs() { + git \ + status \ + --untracked-files="all" \ + "${@}" +} # show a commit -alias gsc="\ -git \ -show \ -" +gsc() { + git \ + show \ + "${@}" +} # tag a commit gt() {