Skip to content

Computing SHA for use in CreateFile endpoint #24445

Discussion options

You must be logged in to vote

GitHub uses git to calculate the SHA of the object. You can find the documentation of how this works on the git-scm.com website. Or you can use the git hash-object command:

$ echo -n "from test" | git hash-object --stdin
62b551731eada762035d4665978027cd44291290

I hope that helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants