It’s useless to deploy an erpnext with docs (in production).
source code is so huge, it’s miserable to clone a full repo in CHINA.
Code including static files only has 38M, is it possible to seperate docs into an independent repo and reduce .git size?
Unfortunately, the documentation is tightly coupled with the code, because a lot of it is auto generated. A shallow clone would reduce the .git folder size I believe
Also, you could setup your own git repository that is updated from the main repository, and then deploy your production server from your git repository instead of the GitHub one.