允许两名开发人员同时处理同一个文件
除了明显选择 GitHub(每月 7 美元)之外,我还在寻找一种免费的简单方法,让两个开发人员可以处理同一个文件并进行独立更改,而不会覆盖其他更改。我选择了保管箱,但这会创建第二个“复制”文件,这并不理想。
有没有人有任何免费的、经过尝试和测试的方法来做到这一点。
我们都用 Mac,这有帮助吗?
Apart from the obvious choice of GitHub, $7 a month, i was looking for a free simple way for two developers to work on the same file and to make independent changes without overwriting the others changes. I went for dropbox but this creates a second "copy" file, which is just not ideal.
Has anyone had any free, tried and tested way to do this.
We're both on Macs if that helps?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
BeanstalkApp 有免费计划,您可以使用 SVN 或 Git。如果它是开源的,您可以使用 Google 项目托管。
编辑:忘了提及,但 Beanstalk 的免费计划确实将您限制为一个用户,但如果可以接受,您始终可以共享用户信用。
BeanstalkApp has a free plan, and you can use either SVN or Git. If it's open source, you can use Google Project Hosting.
EDIT: Forgot to mention, but Beanstalk's free plan does limit you to one user, but you could always share the user creds, if that's acceptable.
我在一个旧的蹩脚 XP 机器上使用 VisualSVN 设置了 SVN,它功能齐全,设置简单,并且与 tortiseSVN 配合良好,但如果您不想自己托管它,有很多免费的存储库主机在线,这很可能足以满足您的需求。
I have a SVN set up using VisualSVN on an old crappy XP box I have, it is fully functional simple to set up and works well with tortiseSVN, but if you don't want to host it yourself, there are plenty of free repositories hosts online which will most likely be enough for your needs.
尝试在 Dropbox 上使用 git。如果你们都有本地存储库并推送到放入 Dropbox 的 git 克隆,则需要确保你们不会同时更新,但仍然可以使用。
另一种选择是,如果使用的其中一台机器永久连接,则在该机器上进行 git 克隆,并运行其他机器可访问的 git 服务器。如果您的 ISP 提供动态 IP 地址,请使用动态 dns 提供商,例如 dyn-dns。
Try using git on dropbox. You will need to make sure you don't both update at the same time but still workable if you both have local repositories and push to the git clone that you put in Dropbox.
Another alternative is if one of the machines used is permenantly connected then have a git clone on that and run a git server accessible to the other machines. If your ISP gives a dynamic IP adress use a dynamic dns provider like dyn-dns.
如果该项目是开源的,您可以通过多种方式获得免费的 SVN 服务:Google Code 和SourceForge 可能是最受欢迎的。不过,SVN 并不真正允许像 Git 那样干净利落地进行分支,这似乎正是您正在寻找的。
我过去使用过的一项经常被忽视的服务是 Assembla 的免费托管。它是少数几个还允许非开源项目使用私有存储库的软件之一,并且还具有 Git 托管和 SVN(尽管我之前没有使用过他们的 Git 托管)。
我真正推荐您看一下的计划是他们的免费 Git 托管计划,这似乎正是你所需要的。它允许无限的存储库和用户,但您的存储空间仅限于 1GB。
If the project is open source, you have a variety of options to get free SVN services: Google Code and SourceForge being probably the most popular ones. SVN doesn't really allow branching quite as nicely and cleanly as Git, though, which seems to be what you're looking for.
One often overlooked service that I have used in the past Assembla's free hosting. It is one of the few that also allows private repositories for non-open-source projects, and also has Git hosting as well as SVN (although I haven't used their Git hosting before).
The plan that I really recommend you take a look at is their free Git hosting plan, which seems to be exactly what you need. It allows for unlimited repositories and users, although you are limited to 1GB of storage.