Resuming git-svn clone: “git svn fetch” starts fro

2019-08-01 16:15发布

问题:

I read on this SO question that the way to resume an interrupted git svn clone is git svn fetch. In my case, the download from the svn server always stalls after a few minutes. I've tried waiting it out overnight, but in the morning it's just where I left it the previous night. I quit with cntr-C. git svn fetch then starts the entire download from the beginning. Obviously, this gets me nowhere. Any suggestions?

回答1:

Try to fetch partial history first with git svn -r <revision range> parameter. Then either to fetch more commits part by part or limit yourself to shallow svn history.

Also ensure you have recent enough git.



标签: git svn clone