Created
March 13, 2022 18:14
-
-
Save devwax/9baf5da16c6cadea5502ef231fe9b347 to your computer and use it in GitHub Desktop.
Checkout a directory within a monorepo or other large repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone --filter=blob:none --sparse https://github.com/[username]/[whatever].git | |
| cd [whatever] | |
| git sparse-checkout init --cone | |
| git sparse-checkout add examples/nextjs-slack-clone | |
| # Source: https://hasura.io/learn/graphql/hasura-auth-slack/data-modeling/3-apply-migrations/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment