Skip to content

git 仓库过大的问题 #27

@purplegrape

Description

@purplegrape

【问题】
经过测试,agent客户端每次部署都是git clone xxxx (不了解具体实现方法,但效果等同),相当于将整个仓库都下载下来,但实际使用到的仅仅是最后一个commit版本,白白浪费了许多空间。

【改进建议】
git clone --depth=1 xxx
这样可以大大减少部署量,加快部署速度。

Metadata

Metadata

Assignees

Labels

TODOwill added or fixed in future

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions