English 中文(简体)
吉特哈希是如何建造的?
原标题:How is Git hash constructed?
  • 时间:2012-05-27 15:05:18
  •  标签:
  • git

在 Git 中, 哪些属性构成混杂物? 我意识到它可能因对象类型( 承诺、 树等) 不同而不同 。

例如,承诺的散列是如何做的?它是否涉及承诺的信息和更改?

最佳回答

http://git-scm.com/book/en/Git-internals-Git-Objects" rel=“nofollow”>Pro Git :

命令的输出为40个字符校验和散列。 这是 SHA-1 散列, 这是您存储的内容的校验和页眉

该章有更详细的内容。

问题回答

暂无回答




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签