Skip to content

Shallow Clone, Checkout single file? #102

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

Closed
marc-ostrow opened this issue Jun 18, 2020 · 2 comments
Closed

Shallow Clone, Checkout single file? #102

marc-ostrow opened this issue Jun 18, 2020 · 2 comments

Comments

@marc-ostrow
Copy link

I'm trying to figure out how I could perform an in-memory, shallow (no-checkout, depth = 1) clone, followed by a checkout of a single file.

I've got the in-memory shallow clone done, using Checkout Options NoCheckout set to true and Depth set to 1, but cannot find a way to perform a Checkout on a pathspec, so as to specify a single file in the work tree.

@willstott101
Copy link

Looks like this is probably a duplicate of #90

@mcuadros
Copy link
Member

Yup looks like duplicate closing in favor of the other issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants