简体   繁体   English

我们可以在Windows上使用git-cvs吗?

[英]Can we use git-cvs on windows?

I'm comfortable using git, and I prefer it very much over CVS. 我很习惯使用git,而且我比CVS更喜欢它。 Unfortunately, in our company, we have to use CVS as a version control system. 不幸的是,在我们公司,我们必须使用CVS作为版本控制系统。 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 . 我想知道是否有任何方式在进行CVS回购时在本地使用git,当我发现这个问题时我很高兴。 Unfortunately, it does not seem to work on Windows. 不幸的是,它似乎不适用于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". 我在我的计算机上安装了Git For Windows(mysysgit),当我在终端输入git cvsgit cvsimport时,它说“不是git命令”。 Is there anyway I can use this functionality on windows? 无论如何我可以在Windows上使用此功能吗?

Use Cygwin git instead of msysgit, it has this and other functions, like git daemon. 使用Cygwin git而不是msysgit,它有这个和其他功能,比如git守护进程。

Or you can implement this feature and contribute it to msysgit. 或者您可以实现此功能并将其贡献给msysgit。

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. 我使该方法在Windows上运行,但由于我们的CVS服务器是Linux,我将导出到该服务器上的CVS,然后克隆到我的Windows机器。 I push back through a staging repository also located on the Linux server. 我推回到位于Linux服务器上的临时存储库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM