Skip to content

Instantly share code, notes, and snippets.

@adamglauser
adamglauser / upstreamDiffFancy
Created March 20, 2014 18:31
Fancy view of difference between local and upstream
git log "@{u}...HEAD" --graph --decorate --left-right --boundary --pretty=format:'%Cred%h%Creset %d %s %Cgreen(%cr)%Creset %Cblue[%an]%Creset' --abbrev-commit --date=relative
Props to Mark H. Nichols (http://zanshin.net/2013/01/25/git-log-command-showing-commit-differences-between-local-and-remote-repository/)