如何导出github分支回购?

时间:2015-09-11 15:28:46

标签: git svn github

我们可以在下面导出fractional github master repos,

$ 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 个答案:

答案 0 :(得分:0)

<强> @Solution

现在它似乎在下面工作,

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

=&GT; trunk branches

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

此外,每个文件都附有一个raw链接,只有wget [link]才能抓住它。