LucasLarson/dotfiles

is `git log` alias `git log` better implemented by @ohmyzsh than @gggritso?

LucasLarson opened this issue · 1 comments

# git log
# https://github.com/gggritso/gggritso.com/blob/a07b620/_posts/2015-08-23-human-git-aliases.md#readme
alias glog="git log --graph --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %cr) %Cred%d' --date-order"

would @ohmyzsh’s
git log --oneline --decorate --graph¹

serve better than @gggritso’s
git log --graph --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %cr) %Cred%d' --date-order"²


  1. https://github.com/ohmyzsh/ohmyzsh/blob/d853ec4b629f24c6622f414f312fbf83cec0990d/plugins/git/git.plugin.zsh#L157
  2. https://github.com/gggritso/gggritso.com/blob/a07b620/_posts/2015-08-23-human-git-aliases.md#readme

Broader issue than 𝑥 versus 𝑦. Closing.