Git Komit ID 7 Karakter

what about this :
git log --pretty="%h %cD %cn %s"  

it shows someting like :
674cd0d Wed, 20 Nov 2019 12:15:38 +0000 Bob commit message

see the pretty format documentation
https://git-scm.com/docs/pretty-formats
Coding Era