How to retrieve the hash for the current commit revision in Git?


git rev-parse HEAD

또는

git rev-parse --verify HEAD


Ref





blog comments powered by Disqus