Skip to content

Instantly share code, notes, and snippets.

@adamglauser
Created March 20, 2014 18:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamglauser/9670693 to your computer and use it in GitHub Desktop.
Save adamglauser/9670693 to your computer and use it in GitHub Desktop.
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/)
@sean9999
Copy link

brilliant!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment