Commit f1a43daa authored by ncanceill's avatar ncanceill
Browse files

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
parent 8eb31a6f
...@@ -48,6 +48,8 @@ function work_in_progress() { ...@@ -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' ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment