Explorar o código

change oneline git log to use shortened hash

Weiyi Lou %!s(int64=13) %!d(string=hai) anos
pai
achega
74c3a12a20
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      zsh/zshrc

+ 1 - 1
zsh/zshrc

@@ -69,7 +69,7 @@ alias ga.='git add .'
 alias gs='git status'
 alias gd='git diff'
 alias gds='git diff --staged'
-alias gl='git log --graph --date=relative --pretty="format:%C(yellow)%H %Cblue[%cn] %Creset%s - %cd"'
+alias gl='git log --graph --date=relative --pretty="format:%C(yellow)%h %Cblue[%cn] %Creset%s - %cd"'
 alias gls='git log --graph --stat'
 alias glp='git log -p'
 alias gr='git rebase'