Why is the size of the forked repository so huge in GitHub?

自闭症网瘾萝莉.ら 提交于 2019-12-10 16:28:51

问题


I am a newbie to github and I am required to have an understanding of wireshark by analyzing its source code. The source code is apparently around 23 MB but if I try to do a git clone from the link provided in the website, it turns out to be around 636 MB.

Can someone please shed some light as to why the clone is so big compared to the source code?


回答1:


When you clone a repository with git ... that's what you're doing; cloning a repository. You're getting all the branches and their histories, not just master.

If you really wanted to, you could just get master (or a specific branch) - see: Clone only one branch



来源:https://stackoverflow.com/questions/14682245/why-is-the-size-of-the-forked-repository-so-huge-in-github

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