我们可以在 Windows 上使用 git-cvs 吗?
我很喜欢使用 git,并且比 CVS 更喜欢它。不幸的是,在我们公司,我们不得不使用CVS作为版本控制系统。我想知道在提交 CVS 存储库时是否可以在本地使用 git,当我发现 这个问题。不幸的是,它似乎不适用于 Windows。我的计算机上安装了 Git For Windows (mysysgit),当我在终端中输入 git cvs 或 git cvsimport 时,它显示“不是 git 命令”。无论如何,我可以在 Windows 上使用此功能吗?
I'm comfortable using git, and I prefer it very much over CVS. Unfortunately, in our company, we have to use CVS as a version control system. I was wondering if there was anyway to use git locally while committing to the CVS repo, and I was elated when I found this SO question. Unfortunately, it does not seem to work on Windows. I have Git For Windows (mysysgit) installed on my computer, and when I type git cvs
or git cvsimport
in the terminal it says "not a git command". Is there anyway I can use this functionality on windows?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 Cygwin git 而不是 msysgit,它具有此功能和其他功能,例如 git 守护进程。
或者您可以实现此功能并将其贡献给 msysgit。
Use Cygwin git instead of msysgit, it has this and other functions, like git daemon.
Or you can implement this feature and contribute it to msysgit.
我使该方法在 Windows 上运行,但由于我们的 CVS 服务器是 Linux,所以我将导出到该服务器上的 CVS,然后克隆到我的 Windows 计算机。我通过同样位于 Linux 服务器上的临时存储库进行回推。
I make that methodology work on Windows, but since our CVS server is Linux I do my export to CVS on that server, and then clone to my Windows machine. I push back through a staging repository also located on the Linux server.