使用 eclipse 和 python/django 进行开发时个人/家庭使用的最佳版本控制系统
我正在家里做一个小型 django 项目。我想免费安装和使用一个供个人使用的小型版本控制系统。我不想使用像 github 这样的 Web 服务,因为我并不总是处于连接状态。我想安装 VCS 服务器/守护程序并在我的家用电脑(Windows 7)上使用它。
我还希望它与我用于编程的 eclipse+pydev 兼容。
任何帮助将不胜感激! 谢谢, 克里斯
I am working on a small django project at home. I would like to install and use a small version control system for personal use for free. I don't want to use a web service like github because I am not always connected. I would like to have the VCS server/daemon installed and use it at my home pc (windows 7).
I would also like it to be compatible with eclipse+pydev which I use for programming.
Any help would be greatly appreciated!
Thanks,
Chris
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
GIT 的构建方式使您可以“离线”使用它:执行提交、恢复更改、浏览历史记录。
我认为在你的情况下使用 SVN 而不是 GIT 有任何优势(你可以托管自己的 GIT 服务器,无需使用 github.com)
http://book.git-scm.com/4_setting_up_a_public_repository.html
分布式 SCM 也有 GIT 替代品:
BTW,用于我的个人原型 DropBox 就足够了;)
GIT is built in a way that you can use it 'offline': doing commit, reverting change, browsing history.
I don't see any advantage in your case to use SVN instead of GIT (you can host your own GIT server, no need to use github.com)
http://book.git-scm.com/4_setting_up_a_public_repository.html
There are also GIT alternatives for distributed SCM:
BTW, for my personal prototype DropBox is sufficient ;)
我建议将 Mercurial 与 Bitbucket 私有存储库一起使用。当您离线时,Mercurial 可以正常工作,您可以将更改推送到 Bitbucket,以便稍后在其他地方(您的笔记本电脑、服务器等)访问您的代码。
还有用于 Eclipse 的 Mercurial 插件。 (请参阅 Mercurial Eclipse 插件)
I suggest using mercurial with a Bitbucket private repository. Mercurial will work just fine when you're offline, and you can push your changes to Bitbucket to access your code elsewhere (your laptop, server, etc.) later.
There's also mercurial plugins for eclipse. (see Mercurial Eclipse Plugin)
我建议将 Mercurial 与 DropBox 一起使用,以确保在崩溃时不会丢失所有内容。
请参阅http://www.h4ck3r.net/2010/05 /11/mercurial-hg-with-dropbox/
希望有帮助
I would recommend to use Mercurial together with DropBox in order to make sure that you don't lose everything in case of crash.
See http://www.h4ck3r.net/2010/05/11/mercurial-hg-with-dropbox/
I hope it helps
对于个人版本控制,我推荐以下内容:
注意:我是FolderTrack 的作者。我推荐它用于编程,因为它将一组源文件视为一个“工作产品”。如果您想将代码倒回到昨天,并且需要删除 2 个文件、重命名 1 个文件并更改 15 个文件,那么foldertrack 就可以做到。
Foldertrack 的免费许可证是:BOS
For personal version control, I would recomend the following:
Note: I am an author of FolderTrack. I recomend it for use with programming because it will treat a group of source files as one "work product". If you want to rewind your code to yesterday and that requires deleting 2 files, renameing 1 file, and chaning 15 more then foldertrack will do it.
The free license for Foldertrack is: BOS
SVN 有 Eclipse 插件 (Subclipse,Subversive),但我不知道 pydev 。但它是最常用的版本控制系统之一,而且是免费的。
SVN has Eclipse plugins (Subclipse, Subversive), I don't know for pydev though. But it is one of the most used version control system and it is free.
如果是供个人使用,那么您可能不必使用分布式 vcs,我肯定会使用 subversion (svn)。它有一个很好的 eclipse 插件:subversive。我已经使用它很多年了。
http://subversion.apache.org/
对于日食:
If it is for personal use, thus you probably don't have to go with distributed vcs, I would definitely go with subversion (svn). It has nice plugin for eclipse: subversive. I'm using it for years.
http://subversion.apache.org/
for eclipse:
http://www.polarion.com/products/svn/subversive.php