Skip to content

Instantly share code, notes, and snippets.

@duff
Forked from austintaylor/post-merge
Created June 26, 2009 15:34
Show Gist options
  • Save duff/136562 to your computer and use it in GitHub Desktop.
Save duff/136562 to your computer and use it in GitHub Desktop.
Show the diff after a git merge
#!/bin/sh
# Print out what changed in a nice format.
git log @{1}.. --pretty=format:"%Cblue%an%Creset %ar: %Cred\"%s%b\"%Creset (%h)" --reverse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment