cut git the last commit hash


git log -n1|head -n1|cut -d' ' -f2

Advertisements