2015-09-11 72 views
0

我们可以出口fractional github上低于master回购,如何导出github分支回购?

$ svn export https://github.com/user_name/repos_name/trunk/dir_name 

Howerver,我没有尽到它下面branch回购,

$ svn export https://github.com/user_name/repos_name/branch_name/dir_name 

(Error: doesn't exist.) 
+1

'svn ls https:// github.com/user_name/repos_name/branch_name /'??? GitHub上的SVN分支是**一个大头痛**,请参阅http://stackoverflow.com/questions/32332269/why-does-a-svn-branch-jump-with-100-revisions-difference-after-commit/ 32345978#32345978 JFYI –

+0

'svn ls ...'出现了相同的错误:无法列出所有目标,因为有些目标不存在。 – sof

+0

将URL降低到一个级别,但我想并预测 - 在Git-repo中没有任何分支(除'master') –

回答

0

@Solution

现在似乎工作以下,

$ svn ls https://github.com/user_name/repos_name 

=>trunkbranches

$ svn export https://github.com/user_name/repos_name/branches/branch_name/path_to_dir 

此外,每个文件被钩与raw链路,只是wget [link]抓住它。

相关问题