1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 23:30:08 +00:00

Add git alias for staging tracked files (#5178)

Although `gaa` (git add --all) is cool, it stages every file, tracked or
not, if it is not on .gitignore.

Sometimes we want to just stage everything we are working on, that is
already tracked. For that reason, 'gau' can save us some time.
This commit is contained in:
Felipe Guilherme 2016-12-17 15:01:13 -02:00 committed by Marc Cornellà
parent 67dad45b38
commit 456341fd69

View file

@ -43,6 +43,7 @@ alias g='git'
alias ga='git add'
alias gaa='git add --all'
alias gapa='git add --patch'
alias gau='git add --update'
alias gb='git branch'
alias gba='git branch -a'