仓库

本页使用了标题或全文手工转换,现处于中国大陆简体模式
求闻百科,共笔求闻

仓库(英语:repository[1]亦称储存库资源库资源库版本库代码库存放库,在版本控制系统中是指在磁盘存储上的数据结构,其中包含了文件目录以及元数据。仓库可能为分布式(如Git)或集中式(如Subversion)。[2]分布式的仓库可以复制到每个用户的本地;集中式的仓库只能保存在服务器上。[3]

仓库中包含的元数据一般有:

  • 仓库中文件变化的历史记录。[4]
  • 提交对象的集合。
  • 提交对象的引用,称为heads。

相关条目

参考文献

  1. SVNBook. [2012-04-20]. 
  2. Ben Collins-Sussman; Brian W. Fitzpatrick; C. Michael Pilato. Chapter 5: Strategies for Repository Deployment. Version Control with Subversion: For Subversion 1.7. O'Reilly. 2011 [2017-05-22]. 
  3. Different approaches to source control branching. Stack Overflow. [15 November 2014]. 
  4. Getting Started - About Version Control. Git SCM. [2017-05-22].