Reputation: 802
I see that you can add aliases in your git configs to do something like this aa = add --all
... but you still need to type git
before the aa
is there a way to create an alias for the word "git"? So something like gaa
would be git add --all
?
Upvotes: 0
Views: 124
Reputation: 5518
For zsh
, add the following to your ~/.zshrc
file (or ~/.bashrc
for bash
):
alias gaa='git add --all'
Upvotes: 1