我想只需要一个git存储库的子部分(而不是完整的东西).我想这样做的原因是因为存储库很大.
@H_502_1@在我的情况下,存储库是:https://github.com/pubnub/pubnub-api.git,我只想要/ PHP目录.
@H_502_1@我在composer中定义了以下包:
{ "type": "package","package": { "name": "pubnub","version": "dev-master","source" : { "url": "https://github.com/pubnub/pubnub-api.git","type": "git","reference":"master" } } },@H_502_1@有小费吗?