Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

let latest commit hash

To turn arbitrary extended object reference into SHA-1, use simply git-rev-parse, for example

git rev-parse HEAD
or

git rev-parse --verify HEAD
 
PREVIOUS NEXT
Tagged: #latest #commit #hash
ADD COMMENT
Topic
Name
6+3 =