@ -8,7 +8,6 @@
#
#
# Settings
# Settings
#
#
#
# Log
# Log
zstyle -s ':prezto:module:git:log:medium' format '_git_log_medium_format' \
zstyle -s ':prezto:module:git:log:medium' format '_git_log_medium_format' \
@ -26,7 +25,7 @@ zstyle -s ':prezto:module:git:status:ignore' submodules '_git_status_ignore_subm
# Aliases
# Aliases
#
#
if ! zstyle -t ':prezto:module:git:alias' skip 'yes' ; then
if ! zstyle -t ':prezto:module:git:alias' skip; then
# Git
# Git
alias g = 'git'
alias g = 'git'
@ -51,18 +50,18 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then
# Commit (c)
# Commit (c)
alias gc = 'git commit --verbose'
alias gc = 'git commit --verbose'
alias gcS = 'git commit --verbose --gpg-sign'
alias gca = 'git commit --verbose --all'
alias gca = 'git commit --verbose --all'
alias gcaS = 'git commit --verbose --all --gpg-sign'
alias gcm = 'git commit --message'
alias gcm = 'git commit --message'
alias gcS = 'git commit -S --verbose'
alias gcmS = 'git commit --message --gpg-sign'
alias gcSa = 'git commit -S --verbose --all'
alias gcSm = 'git commit -S --message'
alias gcam = 'git commit --all --message'
alias gcam = 'git commit --all --message'
alias gco = 'git checkout'
alias gco = 'git checkout'
alias gcO = 'git checkout --patch'
alias gcO = 'git checkout --patch'
alias gcf = 'git commit --amend --reuse-message HEAD'
alias gcf = 'git commit --amend --reuse-message HEAD'
alias gcS f = 'git commit -S - -amend --reuse-message HEAD'
alias gcfS = 'git commit --amend --reuse-message HEAD --gpg-sign '
alias gcF = 'git commit --verbose --amend'
alias gcF = 'git commit --verbose --amend'
alias gcS F = 'git commit -S - -verbose --amend'
alias gcFS = 'git commit --verbose --amend --gpg-sign '
alias gcp = 'git cherry-pick --ff'
alias gcp = 'git cherry-pick --ff'
alias gcP = 'git cherry-pick --no-commit'
alias gcP = 'git cherry-pick --no-commit'
alias gcr = 'git revert'
alias gcr = 'git revert'
@ -70,8 +69,8 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then
alias gcs = 'git show'
alias gcs = 'git show'
alias gcsS = 'git show --pretty=short --show-signature'
alias gcsS = 'git show --pretty=short --show-signature'
alias gcl = 'git-commit-lost'
alias gcl = 'git-commit-lost'
alias gcy = 'git cherry -v --abbrev'
alias gcy = 'git cherry -- verbose --abbrev'
alias gcY = 'git cherry -v'
alias gcY = 'git cherry -- verbose '
# Conflict (C)
# Conflict (C)
alias gCl = 'git --no-pager diff --name-only --diff-filter=U'
alias gCl = 'git --no-pager diff --name-only --diff-filter=U'
@ -183,15 +182,15 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then
alias gir = 'git reset'
alias gir = 'git reset'
alias giR = 'git reset --patch'
alias giR = 'git reset --patch'
alias gix = 'git rm -r --cached'
alias gix = 'git rm -r --cached'
alias giX = 'git rm -rf --cached'
alias giX = 'git rm -r -- force --cached'
# Log (l)
# Log (l)
alias gl = 'git log --topo-order --pretty=format:"${ _git_log_medium_format} "'
alias gl = 'git log --topo-order --pretty=format:"$_git_log_medium_format"'
alias gls = 'git log --topo-order --stat --pretty=format:"${ _git_log_medium_format} "'
alias gls = 'git log --topo-order --stat --pretty=format:"$_git_log_medium_format"'
alias gld = 'git log --topo-order --stat --patch --full-diff --pretty=format:"${ _git_log_medium_format} "'
alias gld = 'git log --topo-order --stat --patch --full-diff --pretty=format:"$_git_log_medium_format"'
alias glo = 'git log --topo-order --pretty=format:"${ _git_log_oneline_format} "'
alias glo = 'git log --topo-order --pretty=format:"$_git_log_oneline_format"'
alias glg = 'git log --topo-order --graph --pretty=format:"${ _git_log_oneline_format} "'
alias glg = 'git log --topo-order --graph --pretty=format:"$_git_log_oneline_format"'
alias glb = 'git log --topo-order --pretty=format:"${ _git_log_brief_format} "'
alias glb = 'git log --topo-order --pretty=format:"$_git_log_brief_format"'
alias glc = 'git shortlog --summary --numbered'
alias glc = 'git shortlog --summary --numbered'
alias glS = 'git log --show-signature'
alias glS = 'git log --show-signature'
@ -258,19 +257,19 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then
# Tag (t)
# Tag (t)
alias gt = 'git tag'
alias gt = 'git tag'
alias gtl = 'git tag -l'
alias gtl = 'git tag -- list '
alias gts = 'git tag -s'
alias gts = 'git tag -- sign '
alias gtv = 'git verify-tag'
alias gtv = 'git verify-tag'
# Working Copy (w)
# Working Copy (w)
alias gws = 'git status --ignore-submodules=${ _git_status_ignore_submodules} --short'
alias gws = 'git status --ignore-submodules=$_git_status_ignore_submodules --short'
alias gwS = 'git status --ignore-submodules=${ _git_status_ignore_submodules} '
alias gwS = 'git status --ignore-submodules=$_git_status_ignore_submodules'
alias gwd = 'git diff --no-ext-diff'
alias gwd = 'git diff --no-ext-diff'
alias gwD = 'git diff --no-ext-diff --word-diff'
alias gwD = 'git diff --no-ext-diff --word-diff'
alias gwr = 'git reset --soft'
alias gwr = 'git reset --soft'
alias gwR = 'git reset --hard'
alias gwR = 'git reset --hard'
alias gwc = 'git clean -n'
alias gwc = 'git clean --dry-ru n'
alias gwC = 'git clean -f'
alias gwC = 'git clean -- force '
alias gwx = 'git rm -r'
alias gwx = 'git rm -r'
alias gwX = 'git rm -rf'
alias gwX = 'git rm -r -- force '
fi
fi