An oneliner for gitMay 10, 2012An one-liner to get the current revision. git log --pretty=format:'%H' | head -n1