-
-
Save mribeirodantas/da7c084b70c3922e13342ee2acbc8861 to your computer and use it in GitHub Desktop.
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
| # Setting up data | |
| mkdir data | |
| # Replace the next line with the path where you saved simulation.tsv | |
| dvc get-url ~/Dropbox/PhD\ data/simulation.tsv data/ | |
| # If you stop here, git will see the data file what may make you | |
| # feel like you should git add/commit it. *Don't do it*, you should not | |
| # git commit data files. They're huge and git is not made for this. | |
| # Instead, request dvc to track it. | |
| dvc add data/simulation.tsv | |
| # This command will generate the data file metadata which is what | |
| # you should track with git. Also ask git to track the .gitignore | |
| # file created by DVC so that git will stop suggesting you to track | |
| # the big data files. | |
| git add data/simulation.tsv.dvc data/.gitignore | |
| git commit -m "Adds source data to DVC" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment