开发人员较少的小型项目的源代码控制
可能的重复:
针对单个开发人员的源代码控制系统
嗨,
我正在计划一个小型 Java 项目供内部使用,可能不会向公众发布(至少不会很快)。作为唯一的开发人员,我倾向于从本地项目开始,因为它简单且易于使用。速度。然而,我预计在不久的将来至少会有一些开发人员加入,因此需要一个源代码控制系统。
这最多是一个 5 人的项目。
以下是主要因素:
- 必须很好地集成到 Eclipse(无论是原生的还是带有插件的)
- 必须有一个渐进的学习曲线
- 易于查看源文件的更改
- 简单/直观的合并/冲突解决
- 不是一个痛苦的事情使用的屁股,意味着不要因问题而过多中断常规开发流程(签入/签出/传输/同步/其他)
您推荐哪种源代码控制,为什么?
Possible Duplicate:
Source control system for single developer
Hi,
I'm planning a small Java project for internal use that probably won't be released to the general public (at least not anytime soon). Being the sole developer, I'm inclined to start with a local project due to the simplicity & speed. However, i foresee at least a couple of developers joining in the near future so a source control system is needed.
It's at most a 5 person project.
Here are the main factors:
- Has to have a good integration into Eclipse (either stock or with a plug-in)
- Has to have a gradual learning curve
- Easy to view changes to source files
- Easy/intuitive merging/conflict resolution
- Not be a pain in the ass to use, meaning not to interrupt the regular development flow too much with its problems (check-ins/check-outs/transport/syncs/whatever)
What kind of source control do you recommend and why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您不介意您的项目从一开始就可见,我建议您使用 Git 和 Github。 Git 很容易上手,并且当您习惯使用它时可以做一些高级的事情。 Github 是与团队协作的好方法。此外,Github 还提供按月收费的私人存储库。
如果你想在本地做一些事情,那么 Git 或 SVN 就可以了。两者都有 eclipse 插件。我喜欢 Subversion 和 Eclipse 的 Subclipse。
If you don't mind your project being visible from the beginning, I'd recommend Git and Github. Git is easy to pick up and can do some advanced stuff when you get used to using it. Github is a great way to collaborate with a team. Also, Github does private repositories for a monthly fee.
If you want to do something local, then Git or SVN will work fine. Both have eclipse plugins. I like Subclipse for Subversion and Eclipse.
我建议使用 Subversion (SVN)。我发现它的设置和使用非常容易。如果您想要 Eclipse 集成,请使用 Subversive 插件。
I recommend using Subversion (SVN). I've found it pretty easy to setup and use. If you want Eclipse integration, use the Subversive plugin.
我知道很多人可能会说 CVS 已经过时了,并且存在许多替代方案,例如 SVN、Git,但在我看来,Eclipse 默认情况下确实拥有出色的 CVS 客户端,这使得代码管理非常容易。我也尝试过在 Eclipse 中使用 EGit,但它缺乏 CVS 客户端所具有的许多功能。缺点是 CSV 需要一些远程存储库。这可以通过使用 Git/EGit 等来避免。
它实际上与您需要拥有并计划在 Eclipse 中使用的版本控制插件功能更相关。
I know many can say that CVS is outdated and many alternatives like SVN, Git exists - but in my opinion Eclipse has really got great CVS client by default, which makes code management really easy. I have also tried and using EGit in Eclipse, but it lacks many of features what CVS client has. Disadvantage is that CSV requires some remote repository. This can be avoided by using, for example, Git/EGit.
It really is more related to what version control plugin features you need to have and planing to use in Eclipse.