Hacker News new | past | comments | ask | show | jobs | submit login

I prefer my own alias over that, less clutter:

  glg='git log --pretty=format:'\''%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset'\'' --abbrev-commit --date=relative'



FYI: %h implies --abbrev-commit and %cr implies --relative-date/--date=relative (Commit date Relative).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: