TLDR:
It helps you to find out the commit ID of the current HEAD
git rev-parse HEAD
OR if you want the shorter commit
git rev-parse --short HEAD
TLDR:
It helps you to find out the commit ID of the current HEAD
git rev-parse HEAD
OR if you want the shorter commit
git rev-parse --short HEAD