diff --git a/modules/git/README.md b/modules/git/README.md index bd67f712..26fa1d8b 100644 --- a/modules/git/README.md +++ b/modules/git/README.md @@ -259,6 +259,10 @@ zstyle ':prezto:module:git:alias' skip 'yes' - `gRs` displays information about a given remote. - `gRb` opens a remote on [GitHub][3] in the default browser. +### Stage + + - `gap` stage changes interactively + ### Stash - `gs` stashes the changes of the dirty working directory. diff --git a/modules/git/alias.zsh b/modules/git/alias.zsh index 4a5789fe..ed3c5dea 100644 --- a/modules/git/alias.zsh +++ b/modules/git/alias.zsh @@ -238,6 +238,10 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then alias gsS='git stash save --patch --no-keep-index' alias gsw='git stash save --include-untracked --keep-index' + # Stage (a) + alias gap='git add -p' + + # Submodule (S) alias gS='git submodule' alias gSa='git submodule add'