Is the SHA1 hash of a commit node the same on the source and target repositories after a push?

时间:2017-04-06 16:53:56

标签: git git-push

Suppose I clone a repository from some remote r, perform a commit, and push the changes up to r. Is the SHA1 hash of the new commit node the same in r as it is in my repository?

1 个答案:

答案 0 :(得分:0)

Once you push? Yes. IDs would be the same (and, therefore, their content and history).