恢复git-svn克隆:“git svn fetch”从头开始 [英] Resuming git-svn clone: "git svn fetch" starts from scratch
问题描述
我在这个SO问题上阅读,了解如何恢复被中断的 git svn clone 是 git svn fetch 。在我的情况下,从svn服务器下载数分钟后总是停止。我已经尝试了一夜之间等待它,但在早上它就是我前一天晚上离开它的地方。我用cntr-C退出了。然后git svn fetch 从头开始整个下载过程。显然,这让我无处可去。任何建议?
尝试使用 git svn -r< revision range>
参数。然后,无论是逐个提取更多的提交,还是将自己限制在浅的svn历史记录中。
同时确保你有足够的git。
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?
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克隆:“git svn fetch”从头开始的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!