-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
feat(create): allow specifying a git clone strategy #6610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✔️ [V2] 🔨 Explore the source changes: 805eff2 🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/62047e6bc5c3e000086d7988 😎 Browse the preview: https://deploy-preview-6610--docusaurus-2.netlify.app |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-6610--docusaurus-2.netlify.app/ |
Size Change: +2.05 kB (0%) Total Size: 773 kB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤷♂️ why not
} | ||
case 'deep': | ||
default: | ||
return 'git clo'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦♂️
Motivation
As requested on Canny: https://docusaurus.canny.io/feature-requests/p/improve-template-cloning
This PR adds a customizable git clone strategy, allowing the user to use shallow, copy, or even bring in their own git clone options.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Tested locally