You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using large project with many modules (AKA monorepo) being able to do sparse checkouts (supported since git 2.25.x) would be very helpful.
Example
Repo containing:
scripts
tools
modules/mobile-client
modules/server
modules/web
We want to only checkout and build the mobile-client (nice when combined with paths/paths_ignore).
So the equivalent of git sparse-checkout init --cone && git sparse-checkout set modules/mobile-client scripts tools would be:
Actions CheckoutFor discussions related to the actions/checkout action in GitHub workflowsTransferredThese are discussions that have recently Transferred from another org/repo
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Support sparse checkouts
Purpose
When using large project with many modules (AKA monorepo) being able to do sparse checkouts (supported since git 2.25.x) would be very helpful.
Example
Repo containing:
We want to only checkout and build the mobile-client (nice when combined with paths/paths_ignore).
So the equivalent of
git sparse-checkout init --cone && git sparse-checkout set modules/mobile-client scripts tools
would be:Ref: https://github.blog/2020-01-17-bring-your-monorepo-down-to-size-with-sparse-checkout/
Beta Was this translation helpful? Give feedback.
All reactions