diff options
author | Felipe Guilherme <felipeguilhermefs@users.noreply.github.com> | 2016-12-17 15:01:13 -0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2016-12-17 18:01:13 +0100 |
commit | 456341fd69c3e514e401f1c3c1726b77d733c86b (patch) | |
tree | af5d70925dc10e5b3c71e7f805c8741062234a23 /plugins | |
parent | 67dad45b38b7f0bafcaf7679da6eb4596301843b (diff) | |
download | zsh-456341fd69c3e514e401f1c3c1726b77d733c86b.tar.gz zsh-456341fd69c3e514e401f1c3c1726b77d733c86b.tar.bz2 zsh-456341fd69c3e514e401f1c3c1726b77d733c86b.zip |
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.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/git/git.plugin.zsh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 9d8e4174a..34942d387 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' |