mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 15:08:01 +00:00
git: add documentation for new aliases
This commit is contained in:
parent
39e1a63349
commit
eee3c9c166
@ -81,6 +81,7 @@ zstyle ':prezto:module:git:alias' skip 'yes'
|
|||||||
commits.
|
commits.
|
||||||
- `gcR` removes the *HEAD* commit.
|
- `gcR` removes the *HEAD* commit.
|
||||||
- `gcs` displays various types of objects.
|
- `gcs` displays various types of objects.
|
||||||
|
- `gcsS` displays commits with GPG signature.
|
||||||
- `gcl` lists lost commits.
|
- `gcl` lists lost commits.
|
||||||
- `gcy` displays commits yet to be applied to upstream in the short format.
|
- `gcy` displays commits yet to be applied to upstream in the short format.
|
||||||
- `gcY` displays commits yet to be applied to upstream.
|
- `gcY` displays commits yet to be applied to upstream.
|
||||||
@ -220,6 +221,7 @@ zstyle ':prezto:module:git:alias' skip 'yes'
|
|||||||
- `glg` displays the graph log.
|
- `glg` displays the graph log.
|
||||||
- `glb` displays the brief commit log.
|
- `glb` displays the brief commit log.
|
||||||
- `glc` displays the commit count for each contributor in descending order.
|
- `glc` displays the commit count for each contributor in descending order.
|
||||||
|
- `glS` displays the log and checks the validity of signed commits.
|
||||||
|
|
||||||
### Merge
|
### Merge
|
||||||
|
|
||||||
@ -295,6 +297,8 @@ zstyle ':prezto:module:git:alias' skip 'yes'
|
|||||||
|
|
||||||
- `gt` lists tags or creates tag.
|
- `gt` lists tags or creates tag.
|
||||||
- `gtl` lists tags matching pattern.
|
- `gtl` lists tags matching pattern.
|
||||||
|
- `gts` creates a signed tag.
|
||||||
|
- `gtv` validate a signed tag.
|
||||||
|
|
||||||
### Working directory
|
### Working directory
|
||||||
|
|
||||||
|
@ -68,11 +68,11 @@ if ! zstyle -t ':prezto:module:git:alias' skip 'yes'; then
|
|||||||
alias gcr='git revert'
|
alias gcr='git revert'
|
||||||
alias gcR='git reset "HEAD^"'
|
alias gcR='git reset "HEAD^"'
|
||||||
alias gcs='git show'
|
alias gcs='git show'
|
||||||
alias gpS='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 -v --abbrev'
|
||||||
alias gcY='git cherry -v'
|
alias gcY='git cherry -v'
|
||||||
|
|
||||||
# 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'
|
||||||
alias gCa='git add $(gCl)'
|
alias gCa='git add $(gCl)'
|
||||||
|
Loading…
Reference in New Issue
Block a user