Skip to content

Instantly share code, notes, and snippets.

@mtalcott
Created April 2, 2012 21:08
Show Gist options
  • Save mtalcott/2287210 to your computer and use it in GitHub Desktop.
Save mtalcott/2287210 to your computer and use it in GitHub Desktop.
git-diffcm
#!/bin/sh
echo "\033[36mCommits in $1 not in $2:"; echo
GIT_PAGER=cat git log "$2..$1" --relative-date
echo; echo "\033[36mCommits in $2 not in $1:"; echo
GIT_PAGER=cat git log "$1..$2" --relative-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment