Skip to content

Instantly share code, notes, and snippets.

@dougalcampbell
Created October 11, 2012 14:41

Revisions

  1. dougalcampbell created this gist Oct 11, 2012.
    3 changes: 3 additions & 0 deletions sweet-git-log
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"

    # use: git lg