`git clone --depth=1` 之后怎样获取完整仓库?

只拿到了一个分支一个commit,再运行fetch也拿不到其他的分支和commits了.
尝试了gitfetch--allgitfetchorigin无效.
用什么命令来获取完整的仓库呢?
更新:
搜到一段文章说不能继续...不知道是不是真的:http://strk.keybit.net/blog/2011/06/07/getting-just-the-tip-of-a-remote-git-branch/
Ashallowrepository(onewithshorthistory)cannotbefurthercloned,
守候你守候我
浏览 353回答 2
2回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript