Posted on :: Tags: , ,

This command retrieves the SHA-1 hash of the latest commit:

git rev-parse HEAD