Sell me distributed revision control

前端 未结 10 1815
滥情空心
滥情空心 2020-11-22 04:12

I know 1000s of similar topics floating around. I read at lest 5 threads here in SO But why am I still not convinced about DVCS?

I have only following questions (not

10条回答
  •  你的背包
    2020-11-22 04:25

    DVCS is very interesting for me as it:

    • adds an all new dimension to the source control process: publication.
      You do not just have a merge workflow, you also have a publication workflow (to which repository will you push to/pull from), and that can have many implication in term of:

      • development lifecycle (with repositories made only for a certain type of commits, like the one made to be released into profuctions, for deployment purposes)
      • solo tasks (you can push and update a backup repo, even in the form of just one file)
      • inter-dependencies project (when a team of project A is waiting for team porject B to finally commit to the central repo, it may resort to ask B to "pass" an intermediate development as an attached zip file in a mail. Now, all that A has to do is add B repo as a potential remote, fetch it and have a peek)
    • brings a new way of producing/consuming revisions with:

      • a passive way of producing new revisions (only the one which are actively pulling from your repo will see them in their branches)
      • an active way of consuming revisions from others (by adding their repo as remote and fetching/merging what you need from them).

    That means you do not depend on other delivering their work to a central repo but that you can have a more direct relationship with different actors and their repos.

提交回复
热议问题