Home > git > git pretty log

git pretty log

git config –global alias.lol “log –pretty=oneline –abbrev-commit –graph –decorate”

or

git config –global alias.lg “log –graph –pretty=format:’%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset’ –abbrev-commit –date=relative”

Categories: git Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.