From 3360a7983dca85189112679b1d7aebe1f8136d2b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 16:59:23 +0100 Subject: [PATCH] ga,gaa --- 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 a639a75..fdcbffc 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -1,15 +1,17 @@ # add to index -alias ga="\ -git \ -add \ -" +ga() { + git \ + add \ + "${@}" +} # add all to index -alias gaa="\ -git \ -add \ ---all \ -" +gaa() { + git \ + add \ + --all \ + "${@}" +} # add parts to index alias gap="\