Git gitcommithash 17/02/2016

Get hash of last commit command

Get hash of last commit command:

git log -1

Get more details about last commit:

git log -p -1