Skip to content

Instantly share code, notes, and snippets.

@felixge
Created October 20, 2009 19:07
Show Gist options
  • Save felixge/214517 to your computer and use it in GitHub Desktop.
Save felixge/214517 to your computer and use it in GitHub Desktop.
#!/bin/sh
commits=`git log --pretty=oneline | wc -l | sed -E 's/ +//g'`
echo "Committed revision $commits."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment