2009-11-14 37 views

回答

5

您不需要指定克隆的根目录。你可以这样说:

git svn clone svn://repository/subdirectory_of_app1 app1 
git svn clone svn://repository/subdirectory_of_app2 app2 
... 

如果你有树干/分支机构/标签的文件夹中的每个应用程序的文件夹,您还可以添加其他参数:

git svn clone svn://repository/subdirectory_of_app1 -T trunk -t tags -b branches app1 
... 
+0

这也为我工作很好,你也可以将你的git提交同步到svn仓库。 – jdehaan