Obtain the Hash for the Last Commit in Git

Via:

pwd
git log -n 1
/Users/gcr/src/wisdomandwonder/post
commit e7766a90d0e41a1c9c4175dde5e5d6a20af52732
Author: Grant Rettke <[email protected]>
Date:   Fri Sep 11 14:57:10 2015 -0500
    Posted

Leave a Reply

Your email address will not be published. Required fields are marked *