Shallow Git Repository Clone
I am using cloudfare to host my website although while cloning the git repo it does a shallow clone but I want it to do a "full" clone as the repo history has some information my code uses. Is there an option to change / enable this on the free plan?
2 Replies
If you’re using Cloudflare Pages, add
git fetch --unshallow &&
in front of your current build command. So, for example, if you’re currently using npm run build
, that would become:
oh gotcha i'll try that