我目前在url_git上运行git repo,在url_svn上运行新的svn repo。
我想在git svn -plugin中使用svn repo,我用以下代码克隆了repo:
git svn clone --username user url_svn/project_svn
当我使用例如
时git svn rebase
or
git svn dcommit
一切正常
当我尝试将我的git repo推送到svn时
git clone git_url/project_git
cd project_git
git svn init url_svn/project_svn
取:
git svn fetch
A initial_commit
r1 = c9e1ab586b658f3f5518e3ed36e87ded675a4685 (refs/remotes/git-svn)
Rebase / dcommit:
git svn rebase
Unable to determine upstream SVN information from working tree history
git svn dcommit
Unable to determine upstream SVN information from HEAD history.
Perhaps the repository is empty. at /usr/lib/git-core/git-svn line 856.
我需要做些什么来实现这个目标?