Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

精简GITHUB库的大小 #506

Open
yutiansut opened this issue Jun 2, 2018 · 4 comments
Open

精简GITHUB库的大小 #506

yutiansut opened this issue Jun 2, 2018 · 4 comments

Comments

@yutiansut
Copy link
Owner

目前QUANTAXIS/QUANTAXIS的git文件夹太大了,git clone需要巨额的时间(大约在200MB左右 压缩后在80MB左右),给新的cloner造成了较大的困扰

git rebase

是我看到的一个解决方案

@zhongjyyy
Copy link
Contributor

zhongjyyy commented Jun 2, 2018

1、首先我不认为这是一个问题啊。
2、考虑到你确实想达到这个目的,我的提议是拆分分支,因为当前的master分支在我看来是一个develop分支,所有的测试、修改、发布都在一条线上,区分度太低,历史包袱大。
3、具体的分支我没有想好,首先肯定有release分支。 只commit 最终relese的版本,那么任意一个release历史版本都能直接检出、然后开发还是只有master这个我就不清楚了,你可以参考下一些开源的github的分支结构(大公司的开源项目)
ps: 我没有让你精简的意思,我意思是这个
git clone -b <branchname> --single-branch <Repository>

@zsluedem
Copy link
Contributor

zsluedem commented Jun 2, 2018

一直有这个问题,我觉得可能是你历史某个commit特别大,是不是加入二进制文件了

我是没有解决过这类问题的

@hardywu
Copy link
Contributor

hardywu commented Jun 11, 2018

@yutiansut
Copy link
Owner Author

@hardywu 发现了 之前做消息队列的时候用的zookeeper,掘金的一个cache, 还有当年的wind客户端, phantomjs爬虫233333

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants