随着对Git的熟悉,我越来越觉得:
Git and other DVCS jump a step futher than traditional centralized VCS in that they not only check out files in question, but also the whole version database.
我认为这是DVCS与CVCS的主要区别,也是DVCS所有其他优势的主要立足点。
或者,让我们这样说:
Multiple Local VCS + A Centralized Backup = DVCS.
将上面的等式改为:
Multiple Local Clones + A Centralized Backup = DVCS.
对吧?
最佳答案
您所描述的是分布式系统的本质:克隆整个存储库(及其完整历史记录)。
a DVCS mixes version control (branching and labels) with publication (push/pull to/from remote repo)
但是有other characteristics区分 DVCS 和 CVCS。
特别是在 terms of workflow .参见“Describe your workflow of using version control (VCS or DVCS)”
并且不要忘记 DVCS doesn't have authorization or authentication .但是,有一些解决方案可以提供这些,例如apache2-authn-redmine 结合 Redmine Project Management System
Multiple Local VCS + A Centralized Backup = DVCS.
我不认为你可以这样总结,特别是考虑到由于大多数 VCS(SVN、ClearCase、Perforce 等)没有“本地”存储库,因此很难模拟推/pull 功能,只有本地工作空间,并且在很大程度上依赖于他们的中央仓库。
关于git - 一句话概括Git和其他DVCS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7187191/