From 456341fd69c3e514e401f1c3c1726b77d733c86b Mon Sep 17 00:00:00 2001 From: Felipe Guilherme Date: Sat, 17 Dec 2016 15:01:13 -0200 Subject: [PATCH] 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. --- plugins/git/git.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 9d8e4174..34942d38 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -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'