]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Sometimes I need to see online git log with dates
authorSergey Matveev <stargrave@stargrave.org>
Sat, 16 Jan 2021 13:38:14 +0000 (16:38 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 16 Jan 2021 13:47:03 +0000 (16:47 +0300)
zsh/.zshrc

index 77a5aba13b99e73e407d679d5cb8e0b396b2dde8..99f9b0841063581d820143e65e65f86e60bf742f 100644 (file)
@@ -124,6 +124,7 @@ alias Gm="git diff --name-only --diff-filter=M"
 alias Gam="git commit --amend"
 
 alias Gl="git log --oneline --graph --decorate=short"
+alias Gld="git log --format=format:'%ai %Cgreen%h%Creset %s'"
 alias Gr="git --no-pager log --oneline -n 20 | perl -ne 'print \"@~\$n \$_\"; \$n++'"
 alias Grr="git --no-pager log --oneline --graph -n 1024 | vi -c 'setlocal filetype=gitrebase buftype=nofile noswapfile' -"