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
Bryce Wray
Bryce Wray16mo ago
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:
git fetch --unshallow && npm run build
git fetch --unshallow && npm run build
Ayush
AyushOP16mo ago
oh gotcha i'll try that
Want results from more Discord servers?
Add your server