浏览代码

Add alias for oneline git tree with --all option

Ivan Mironov 9 年之前
父节点
当前提交
d2712d3180
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plugins/git/git.plugin.zsh

+ 1 - 0
plugins/git/git.plugin.zsh

@@ -157,6 +157,7 @@ alias glo='git log --oneline --decorate'
 alias glol="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
 alias glola="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all"
 alias glog='git log --oneline --decorate --graph'
+alias gloga='git log --oneline --decorate --graph --all'
 alias glp="_git_log_prettily"
 compdef _git glp=git-log