如何在没有服务器的情况下在本地网络上设置版本控制系统? [英] How can one setup a version control system on a local network, without a server?

查看:187
本文介绍了如何在没有服务器的情况下在本地网络上设置版本控制系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我了解到我想我需要一个分布式源代码控件,但是有任何基于UI的控件,它们是否允许您与网络上的其他用户合并? >

这是一个分为两部分的问题,所以就到这里了.我想开始在家中(与多个开发人员一起)开发Web应用程序.但是,我没有专用服务器,也不想花钱购买.

因此,首先,我不知道在这种情况下要使用哪个版本控制系统,因为在工作中我们大多数情况下都具有TFS设置,所以我不熟悉那里的内容.有什么最好的免费CVS/SVN工具?

第二,是否可以通过某种方式在没有专用服务器且两个客户端从上次签入到来最多存储一周的源代码的情况下设置CVS/SVN?

此外,如果可以将其与Visual Studio集成,将很有帮助,这也不是那么重要.

问题:

有五个用户,一个是服务器.

服务器已连接:一切正常

服务器已断开连接:没有人可以共享.

我在寻找什么

无服务器:

  1. 用户仍根据上次签入的版本ID进行版本控制.
  2. 用户必须根据其上一个版本ID检查网络上的所有版本,以确保它们未过时.
  3. 如果不办理登机手续,否则将合并/获取最新信息.
  4. 如果它们是更新签入,并设置当前版本ID +1.

解决方案

如果您正在寻找没有中央仓库的源代码控件,那么您正在寻找这样的分布式源代码控件系统:作为Git或Mercurial.

Edit: Ok so I learned that I guess I need an distributed source control, however are there any UI based ones, and do they allow you to merge with other users on the network?

This is kind of a two part question, so here it goes. I want to start developing a web application at home (with multiple developers). However, I don't have a dedicated server nor want to pay for on.

So first, I don't know which version control system to use for this case, as at work we mostly have TFS setup, so I am not to familiar with whats out there. What are the best free CVS/SVN tools out there?

Second, is it possible to somehow setup the CVS/SVN where there is no dedicated server and both clients store up to one week of the source code from the last check-in?

Also, it would be helpful if it could integrate with visual studio, again this isn't that important at all.

Problem:

There are Five users, one is a Server.

Server Connected: All Ok

Server Disconnected: No one can share.

What I am looking for:

No Server:

  1. Users still have versioning based on version id of last check-in.
  2. Users must check all version on network to make sure they aren't outdated based on their last version id.
  3. If not check-in, otherwise merge/get latest.
  4. If they are update checkin, and set current version id +1.

解决方案

If your looking for a source control that DOESN'T have a central repo, you are looking for a distributed source control system such as Git or Mercurial.

这篇关于如何在没有服务器的情况下在本地网络上设置版本控制系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆