【发布时间】:2016-03-15 18:38:07
【问题描述】:
我已使用以下 git svn clone 命令将 SVN 存储库迁移到本地 Git 存储库
git svn clone <svn-repo>/<project> <git-repo-name>
现在我想在 SVN 存储库更改(新提交)时同步新的本地 Git 存储库。我使用以下命令从原始 SVN 存储库中获取任何新提交:
git svn fetch
但是执行上述命令后什么都没有获取。它显示为:
$ git svn fetch
Instaed 显示为:
$ git svn fetch
fatal: Not a git repository (or any of the parent directories): .git
Unable to find .git directory
at D:\Program Files\Git\mingw64/libexec/git-core\git-svn line 347.
【问题讨论】: