-
Notifications
You must be signed in to change notification settings - Fork 138
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
git 仓库过大的问题 #27
Labels
TODO
will added or fixed in future
Comments
如果回滚是基于远程仓库的话,那么agent客户端本地无需在本地保留任何版本 |
多谢宝贵的建议,这个会在后续优化中采纳. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
【问题】
经过测试,agent客户端每次部署都是git clone xxxx (不了解具体实现方法,但效果等同),相当于将整个仓库都下载下来,但实际使用到的仅仅是最后一个commit版本,白白浪费了许多空间。
【改进建议】
git clone --depth=1 xxx
这样可以大大减少部署量,加快部署速度。
The text was updated successfully, but these errors were encountered: