]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/aliases/git.zsh
vim: buffer local doxygen syntax
[dotfiles.git] / zsh / aliases / git.zsh
index 2081b9742f1b611309dce041cd2ce09973f2471c..f2673a302dc987e61faae435bb8c86eb1f1cbdc2 100644 (file)
@@ -10,6 +10,7 @@ compdef _git gup=git-fetch
 alias gp='git push'
 compdef _git gp=git-push
 alias gd='git diff'
 alias gp='git push'
 compdef _git gp=git-push
 alias gd='git diff'
+alias gdc='git diff --cached'
 alias gc='git commit -v'
 compdef _git gc=git-commit
 alias gca='git commit -v -a'
 alias gc='git commit -v'
 compdef _git gc=git-commit
 alias gca='git commit -v -a'
@@ -41,6 +42,8 @@ compdef _git gcp=git-cherry-pick
 alias glg='git --no-pager log --oneline --graph --max-count=20 --decorate'
 alias glg='git --no-pager log --graph --max-count=20 --pretty=tformat:"%Cblue%cd %C(auto)%h%d %s" --date=short'
 compdef _git glg=git-log
 alias glg='git --no-pager log --oneline --graph --max-count=20 --decorate'
 alias glg='git --no-pager log --graph --max-count=20 --pretty=tformat:"%Cblue%cd %C(auto)%h%d %s" --date=short'
 compdef _git glg=git-log
+alias glgl='git log --graph --pretty=tformat:"%Cblue%cd %C(auto)%h%d %s" --date=short'
+compdef _git glgl=git-log
 alias glgg='git log --stat --graph --max-count=20 --decorate'
 compdef _git glgg=git-log
 alias glgga='git log --stat --graph --decorate --all'
 alias glgg='git log --stat --graph --max-count=20 --decorate'
 compdef _git glgg=git-log
 alias glgga='git log --stat --graph --decorate --all'