将现有的 svn 存储库推送到 git
我正在使用 SVN,暂时不打算迁移到 Git。我想尝试 AppHarbor,但目前您必须使用 Git 将代码部署到 AppHarbor。
我想继续使用 SVN,但时不时地推送到 AppHarbor 的 git 存储库。有没有一种简单的方法可以实现这一目标?
I'm using SVN and I'm not planning to migrate to Git for now. I'd like to try out AppHarbor but currently you must use Git to deploy code to AppHarbor.
I'd like to continue using SVN but push to AppHarbor's git repository from time to time. Is there an easy way to achieve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用以下命令创建 SVN 存储库的 git 克隆:
定期运行 ... 来保持最新状态
... 并通过在 git svn 克隆创建的目录中 。然后,您可以从 Subversion 存储库的 git 镜像推送到 AppHarbor。
You can create a git clone of your SVN repository with:
... and keep that up to date by periodically running:
... in the directory created by the
git svn clone
. You can then push from that git mirror of your Subversion repository to AppHarbor.