-
Notifications
You must be signed in to change notification settings - Fork 394
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
cmd ref: update import
: it now supports non-DVC Git repos
#898
Comments
import
: it now supports non-DVC Git repos
It seems this issue has been solved by a PR that may not have mentioned this issue.
In case if it needs to be more explicitly stated 'non-DVC Git repos', I'll be happy to take this up |
@utkarshsingh99 thanks! Indeed this is now included in https://dvc.org/doc/command-reference/import but perhaps
You can try this if you wish. |
This comment has been minimized.
This comment has been minimized.
If a Git-tracked file is added through |
If file (Git or DVC - tracked) is imported it is indeed by default is cached (added into DVC). It's a good question if people want that or not. Let's first try to edit the |
Yeah, I meant |
How was that .dvc file produced? I'm assuming with This is a great question but I'm not sure how it relates to the pending task here, "add an example specific to importing Git-tracked file". I mean... I see how it relates, but can that be done without figuring out this new question first? If so, please focus on it and just open a separate issue about whether to cache or not imports in the core repo, @utkarshsingh99 Thanks |
Yeah, I think it can be done.
With this in context, I am not sure what different command would be needed on the user's side apart from this example in the docs which imports a DVC repo: Can you give me an idea about this? @jorgeorpinel |
Indeed. It's basically the same thing. But having a separate example with the title specifically mentioning "Git-tracked file", and clarifying some of the caveats in the example explanation could be helpful for some users and it adds explicitness to the doc. It also allows us to continue assessing your PRs. But if it seems to small feel free to pick another issue. |
See iterative/dvc#3020 (comment), iterative/dvc#3020 (comment), and iterative/dvc#3020 (comment):
UPDATE: Perhaps the only thing missing is to add an example specific to importing Git-tracked file. See #898 (comment)
The text was updated successfully, but these errors were encountered: