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