What is SHA and how is it related to git?
For further actions, you may consider blocking this person and/or reporting abuse
What is SHA and how is it related to git?
For further actions, you may consider blocking this person and/or reporting abuse
Ben Halpern -
Kurapati Mahesh -
ruthmoog -
AndrΓ© N. Darcie -
Once suspended, pandademic will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, pandademic will be able to comment and publish posts again.
Once unpublished, all posts by pandademic will become hidden and only accessible to themselves.
If pandademic is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Pandademic.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag pandademic:
Unflagging pandademic will restore default visibility to their posts.
Top comments (2)
Git, is a bit like a library in that it remembers everything that happens, and it all has an order to it much like the numbers on books in that library so you can find them quickly.
Those numbers are a SHA hash. That SHA hash is a really fancy bit of math that assigns a nearly unique nickname to represent something. In the library example, it'd be like reading the entire contents of the book and giving it a nickname based purely on its entire contents.
The math in the SHA thing makes it almost guaranteed that it'll never match another one, so you can rely on it being unique and never accidentially pointing you to the wrong one.
So to boil it down. Git is like a libarary that has all your changes in it, and the SHA is like the dewey decimal system to locate a specific book.
Thanks! That is such a great way to explain it!