Skip to content

Instantly share code, notes, and snippets.

@egonw
Last active September 26, 2015 18:18
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save egonw/1139002 to your computer and use it in GitHub Desktop.
Git commands I use to get the data for my "CDK 1.x.y" blog posts
git shortlog -s -n $v1..$v2
git log --oneline $v1..$v2 | sed 's/\([a-f0-9]*\)\s\(.*\).*/<li>\2 <a href="https:\/\/github.com\/cdk\/cdk\/commit\/\1">\1<\/a><\/li>/'
git log --oneline $v1..$v2 | sed 's/\([a-f0-9]*\)\s\(.*\).*/- \2/'
git log $v1..$v2 | grep Signed-off | cut -d':' -f2 | cut -d'<' -f1 | sort | uniq -c
export v1=cdk-1.4.7
export v2=cdk-1.4.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment