Planet One Images via Getty
A git repository is a content-addressable object store where objects go in indexed by the SHA1 of their content, plus a set of named references pointing at specific objects by hash. The on-disk format (loose objects as individual files, packfiles as delta-compressed archives with a separate index, a ref store split between a directory of files and a packed-refs flat file with a locking protocol that breaks on NFS) is an implementation detail. The protocol for synchronising objects and refs between repositories is what actually matters, and since git-the-program is just one implementation of it, you can swap the storage backend without clients noticing.
,这一点在爱思助手下载最新版本中也有详细论述
人 民 网 版 权 所 有 ,未 经 书 面 授 权 禁 止 使 用,更多细节参见51吃瓜
Rock & Roll Hall of Fame picks Outkast but not Oasis
Последние новости