Dvc.org: docs - get started: git contents inaccurate

Created on 24 Jun 2020  路  9Comments  路  Source: iterative/dvc.org

In the tutorial page, https://dvc.org/doc/start/data-pipelines#dependency-graphs-dags, the files listed to be committed into git may be inaccurate.
Here is the list of my unstaged files:
Screenshot from 2020-06-24 08-11-25
vs the list of files that the tutorial wants me to commit:

  • .gitignore
  • dvc.lock
  • dvc.yaml

Does the tutorial specifically want me to commit on these 3 files and not the other files in src, and params.yaml?
Maybe we can specify a reason if that's the case or add the files in the list.

All 9 comments

Hi @utkarshsingh99 are you talking about this part?

image

Other than maybe changing .gitignore for data/.gitignore, I think "incude" implies this list is non-inclusive. The idea is that by this point the user understands what to do on their own. Not sure it's a good assumption but we don't want to teach Git.

"This" should be "These" though!

Alright. Also, interestingly, I do have a .gitignore in the root of my project. Not sure because of which command though.

/model.pkl

That's because of the train stage in 鈿欙笍 Expand to add more stages.

"This" should be "These" though!

Would you like to update this @utkarshsingh99 ?

"This" should be "These" though!

Hi. Has this been addressed? Can we close this issue? Thanks!

Yes, I will address this mistake in the draft PR.
Sorry for the delay. Is it okay if I mention it in that PR? Maybe I should rename the issue as well

Is it okay if I mention it in that PR?

I'm not sure what you mean. Please link #1494 as the fix to this issue.

Actually it's such a small thing... I see you've addressed it there. Let's just close this now. Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pared picture pared  路  4Comments

utkarshsingh99 picture utkarshsingh99  路  3Comments

efiop picture efiop  路  4Comments

jorgeorpinel picture jorgeorpinel  路  3Comments

jorgeorpinel picture jorgeorpinel  路  4Comments