有没有办法只获得github.com项目的一部分(例如:/库的子文件夹)并在中使用svn:externals?svn:外部git项目的子文件夹
我现在正在做的是
$svn pe svn:externals .
SomeLibrary http://svn.github.com/myuser/myproject.git
但我不想要的一切,从项目......我需要这样的东西:
$svn pe svn:externals .
SomeLibrary http://svn.github.com/myuser/myproject.git/library
会发生什么你引用?如果git提供了正确的SVN接口,那应该可以正常工作。 – 2010-06-10 19:51:14
即使我在myproject.git /././之后放置了有效路径。 ,svn忽略它并从其根目录下载整个项目..:/ 示例: “svn checkout http://svn.github.com/beberlei/zf-doctrine.git/library lib” OBS:但如果尝试一个无效路径,例如: “svn checkout http://svn.github.com/beberlei/zf-doctrine.git/WRONGPATH lib”, 我得到一个svn:URL'http://svn.github。 com/beberlei/zf-doctrine.git/WRONGPATH'不存在 – dgaspar 2010-06-10 21:12:35