2015-09-11 71 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]抓住它。

相關問題