Skip to content

Instantly share code, notes, and snippets.

@groundwalker
Last active January 14, 2016 14:54
Show Gist options
  • Save groundwalker/aa4cfdfcf5f1d8a0de09 to your computer and use it in GitHub Desktop.
Save groundwalker/aa4cfdfcf5f1d8a0de09 to your computer and use it in GitHub Desktop.
#!/bin/sh
#prev_rev=$1
rev=`git rev-parse --short HEAD`
date=`date +%m/%d`
echo $date build $rev
echo
#git log | grep '^\(commit\| \)'| sed -n "1,/${prev_rev}/p"
git log | grep '^\(commit\| \)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment