signoz.io icon indicating copy to clipboard operation
signoz.io copied to clipboard

Recommend shallow git cloning.

Open gibbz00 opened this issue 1 year ago • 4 comments

Fixes: SigNoz/signoz-web#82

Simply ran:

find . -type f -name '*.md' -print | xargs sed -i 's/git clone -b main/git clone --single-branch --depth 1/g'
find . -type f -name '*.md' -print | xargs sed -i 's/git clone http/git clone --single-branch --depth 1/g'

gibbz00 avatar Jan 13 '24 12:01 gibbz00

Deploy Preview for frosty-austin-928e43 ready!

Built without sensitive environment variables

Name Link
Latest commit 2a44a865595ef3247f5f4e4823a94f0c2d554f23
Latest deploy log https://app.netlify.com/sites/frosty-austin-928e43/deploys/65a283e84bffa30008f61b9b
Deploy Preview https://deploy-preview-1453--frosty-austin-928e43.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Jan 13 '24 12:01 netlify[bot]

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 42
🟠 Accessibility 89
🟠 Best practices 83
🟠 SEO 75
🟢 PWA 100

Lighthouse ran on https://deploy-preview-1453--frosty-austin-928e43.netlify.app/

github-actions[bot] avatar Jan 13 '24 12:01 github-actions[bot]

Hey @gibbz00, thanks for the PR.

This helps people who would just want to run it once.

Can you sync latest changes from upstream and also retain the -b main part?

Try running the following:

find . -type f -name '*.md' -print | xargs sed -i 's/git clone -b main/git clone -b main --single-branch --depth 1/g'
find . -type f -name '*.md' -print | xargs sed -i 's/git clone http/git clone --single-branch --depth 1/g'

prashant-shahi avatar May 16 '24 18:05 prashant-shahi

@Calm-Rock We can re-create the linked PR changes in new PR after running the shared commands.

Otherwise, it will be difficult to resolve the conflicts.

prashant-shahi avatar May 30 '24 12:05 prashant-shahi