Git 到 CVS:我该如何_回归_?
因为我完全疯了(嗯,有更好的理由,但我不被允许谈论它们),将 Git 存储库移植到 CVS 的最佳方法是什么?我没有使用任何我能想到的会妨碍操作的特定于 Git 的功能,并且我知道作者是如何映射的。
CVS->Git 的点击量到处有数千次。我想走另一条路。
Because I'm totally insane (well, there are better reasons but I'm not allowed to talk about them), what's the best approach to port a Git repo to CVS? I haven't used any Git-specific features that I can think of that would hinder the operation, and I know how the authors map.
There are thousands of hits everywhere for CVS->Git. I want to go the other way.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这个问题和接受的答案有一个关于将更改导出到 CVS 的部分。也许您可以创建一个空的 CVS 存储库,然后将当前的 HEAD 导出到该存储库?
虽然我对你有感觉...
This question and the accepted answer has a section on exporting changes to CVS. Maybe you can create an empty CVS repository and then export your current HEAD to that?
I feel for you though...
如果您有机会选择使用混合设置,其中服务器仍然是 git,那么可以使用 git cvsserver 命令(git 的一部分,尽管各种发行版单独打包它,因为很少有人需要它)。这将允许你继续使用 git 来完成一些工作,并且仍然可以使用 CVS 来访问它,而你却陷入困境。
If you by any chance had an option to live with mixed setup, where the server is still git, there is
git cvsserver
command (part of git, though various distributions package it separately, because few people need it). That would allow you to keep using git for some work and still access it with CVS where you are stuck with that.