mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-29 19:23:29 +01:00
git plugin: new/changed aliases
gaa was brought back by popular demand — see #3535 gap was replaced with gapa — see #3682 gdc was replaced with gdca — see #3977
This commit is contained in:
parent
8eb31a6f9a
commit
f1a43daa36
@ -48,6 +48,8 @@ function work_in_progress() {
|
|||||||
alias g='git'
|
alias g='git'
|
||||||
|
|
||||||
alias ga='git add'
|
alias ga='git add'
|
||||||
|
alias gaa='git add --all'
|
||||||
|
alias gapa='git add --patch'
|
||||||
|
|
||||||
alias gb='git branch'
|
alias gb='git branch'
|
||||||
alias gba='git branch -a'
|
alias gba='git branch -a'
|
||||||
@ -79,7 +81,7 @@ alias gcp='git cherry-pick'
|
|||||||
alias gcs='git commit -S'
|
alias gcs='git commit -S'
|
||||||
|
|
||||||
alias gd='git diff'
|
alias gd='git diff'
|
||||||
alias gdc='git diff --cached'
|
alias gdca='git diff --cached'
|
||||||
alias gdt='git diff-tree --no-commit-id --name-only -r'
|
alias gdt='git diff-tree --no-commit-id --name-only -r'
|
||||||
gdv() { git diff -w "$@" | view - }
|
gdv() { git diff -w "$@" | view - }
|
||||||
compdef _git gdv=git-diff
|
compdef _git gdv=git-diff
|
||||||
|
Loading…
Reference in New Issue
Block a user