我需要将一个扩展的 git 仓库迁移到一个新的 svn 仓库。我将按照以下步骤进行操作:http://sandrotosi.blogspot.com/2010/02/migrate-git-repo-to-svn-one.html。
问题是,当我运行命令时:
错误信息如下:
问题是,当我运行命令时:
git svn dcommit
错误信息如下:
digger$ git svn dcommit
Committing to http://repository_url_path/trunk ...
A .gitmodules
A vendor/rails
6ce13429cbc1359d85e1dc99c84561840e89d455 doesn't exist in the repository at /opt/local/libexec/git-core/git-svn line 4277
Failed to read object 6ce13429cbc1359d85e1dc99c84561840e89d455 at /opt/local/libexec/git-core/git-svn line 558
我该怎么修复它?
谢谢!
git show 6ce13429cbc1359d85e1dc99c84561840e89d455
显示了什么? - Damien Polletgit fsck
命令来检查你的代码库。 - Rudi