Git 和 SVN 在同一个系统上?

发布于 2024-12-04 07:37:33 字数 193 浏览 0 评论 0原文

我们目前在自己的服务器上使用 SVN,因此我已经在我的笔记本电脑上使用 Visual Studio 设置了 SVN 客户端和 Ankh,并且可以正常工作。我想将 git (与 github 一起)用于个人项目并作为学习练习。

在同一台 PC 上执行这两项操作是否存在任何潜在问题(理论上或实际看到的)? 关于开始 (*git*ting?) 有什么建议吗?

We're currently using SVN with our own server, so I've got the SVN client and Ankh set up and working fine on my laptop with Visual Studio. I'd like to use git (with github) for personal projects and as a learning exercise.

Are there any potential problems doing both on the same PC (theoretical or actually seen)?
Any recommendations on getting (*git*ting?) started?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

想你的星星会说话 2024-12-11 07:37:33

除了必须使用两个 VCS 客户端之外,我想不出任何问题,但 git 实际上具有 SVN 集成,所以如果你想闯入 git,你实际上可以(应该?)做的就是使用 git- svn 绑定可整合到一个 VCS 客户端。

有一个“初学者”教程,标题为有效地使用 Git 与 Subversion,您可以查看基本工作流程以及如何使用 git-svn 的示例,以及 git >官方 git-scm 网站上的 SVN 迁移速成课程,解释了您已知的 SVN 命令的 git 等效项。

I can't think of any problems, aside from having to use two VCS clients, but git actually has SVN integration, so really what you can (should?) do if you're looking to break into git is just use the git-svn bindings to consolidate down to one VCS client.

There's a "for-beginners" tutorial entitled Effectively Using Git With Subversion that you can check out for a basic workflow and examples of how to use git-svn, and a git > SVN migration crash course on the official git-scm site that explains git equivalents to SVN commands you already know.

最近可好 2024-12-11 07:37:33

完全没问题。在我发现 git-svn 之前,我实际上是在 SVN 工作目录的内容上运行 git 存储库,并且在正确设置 .*ignore 文件之后,双方都不知道对方,而且工作得很好。

It's no problem at all. Before I discovered git-svn, I was actually running a git repository on the contents of an SVN working directory, and after setting up the .*ignore files properly, neither ever knew about the other and it worked just fine.

情绪失控 2024-12-11 07:37:33

我在工作中本地使用两个系统(svn 和 git)。我使用 git 系统是因为它很容易分支和做实验,而 svn 系统(其他人都使用它)用于与同事集成。这是我推荐的系统,因为我尝试过使用 git-svn 并且它严重损坏,我想这与项目的大小有关,而且我没有得到所有 svn 修订版(只是最后 1000 个左右) )。

I use both systems (svn and git) locally at work. I use the git system because it is easy to branch and do experiments, and the svn system (everybody else uses it) for integrating with colleagues. This is the system I would recommend, since I have tried working with git-svn and it broke severely, I guess it has something to do with the size of the project, and me not getting all svn revisions (just the last 1000 or so).

携君以终年 2024-12-11 07:37:33

是的,我建议将 SubGit 安装到您的 SVN 服务器中。之后SVN服务器将获得额外的Git接口。所以那些喜欢SVN的人会继续使用SVN,那些使用Git的人可能会使用Git接口。

Yes, I would recommend to install SubGit into your SVN server. After that the SVN server will get additional Git interface to it. So those who prefer SVN will continue using SVN, those who use Git may use Git interface.

做个ˇ局外人 2024-12-11 07:37:33

GIT 和 SVN 可能提供相同的功能(版本控制),但它们之间有一些关键的区别。它们还在不同的端口上连接不同的文件夹和所有这些很棒的东西,因此它们应该在同一台机器上运行有趣,您可能遇到的唯一问题是一些速度问题,只是由于因此而发生的大量 IO 读写。

GIT and SVN may serve the same functions(version control) but they have some key differances between them. THey also connect on differnt ports different folders and all that great stuff so they should run fun on the same machine the only issue you could have is some speed issues, just from a lot of IO read and writes that can take place because of that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文