I want to use git\'s partialClone
feature. In this answer I saw the git clone --filter=tree:none
command.
But when trying to e
As of GitLab 12.4 (released 2019-10-22) partial cloning has been added as an optional alpha feature for self hosted instances. You can enable it instance wide via the feature flags api:
curl --data "value=true" --header "PRIVATE-TOKEN: " https://gitlab.example.com/api/v4/features/gitaly_upload_pack_filter
You can get more information about this here: https://docs.gitlab.com/ee/topics/git/partial_clone.html
Just to be clear: You cannot use this feature with gitlab.com hosted repositories at the time of last edit of this answer.