Resuming git-svn clone: “git svn fetch” starts from scratch

徘徊边缘 提交于 2019-12-11 10:39:13

问题


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.



来源:https://stackoverflow.com/questions/9484649/resuming-git-svn-clone-git-svn-fetch-starts-from-scratch

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!