I want to use git's partialClone feature. In this answer I saw the git clone --filter=tree:none <repo> command.
But when trying to execute on github, the prompt warning: filtering not recognized by server, ignoring. It did not work.
I want to know if it is not supported by the GitHub website, or if there is a problem with my settings.
I asked the feedback staff of GitHub and have not got the answer from the technician.
This almost certainly isn't supported by GitHub or GitLab yet.
The
--filteroption is under active development and isn't really ready for general-purpose consumption yet. GitHub's blog post about the release of Git 2.19 in September, 2018 saysOnce this feature becomes more fully-developed and hosts start to support it I'm sure they won't do so quietly. As far as I know, no major cloud provider has made such an announcement yet.
Update from OP 2019-03-21: