diff options
author | Tim <TimothyStiles@users.noreply.github.com> | 2017-08-11 19:31:17 -0400 |
---|---|---|
committer | Joe Hand <joe@joeahand.com> | 2017-08-11 16:31:17 -0700 |
commit | 5b0f0e94756882e141a73e1fc9828c93e352b3d3 (patch) | |
tree | 30594758c6319bb9ef0d53bb2439fcae89118e03 /docs/cookbook | |
parent | 29fbd6861cbc8cc81aee8d4875b8202ceb071fd2 (diff) | |
download | dat-docs-5b0f0e94756882e141a73e1fc9828c93e352b3d3.tar.gz dat-docs-5b0f0e94756882e141a73e1fc9828c93e352b3d3.zip |
update publish.md to reflect changes in clone command. (#83)
Diffstat (limited to 'docs/cookbook')
-rw-r--r-- | docs/cookbook/publish.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cookbook/publish.md b/docs/cookbook/publish.md index 2dd5baa..960672b 100644 --- a/docs/cookbook/publish.md +++ b/docs/cookbook/publish.md @@ -69,6 +69,6 @@ In order for anyone to see the dat, you'll need to have `dat share` running on y ## Using Git with `dat.json` -You might want to be able to get the collaborative benefits of git along with the benefits of fast data download, versioning, p2p, and deduplication with dat. All you have to do is include the `dat.json` file in your git repository, and tell people to type `dat clone` for them to get the latest version of your data. Now, when someone clones your git repository, they can download your data by simply typing `dat clone dat.json`, and the url in the dat.json will be used to download the dat. +You might want to be able to get the collaborative benefits of git along with the benefits of fast data download, versioning, p2p, and deduplication with dat. All you have to do is include the `dat.json` file in your git repository, and tell people to type `dat clone .` for them to get the latest version of your data. Now, when someone clones your git repository, they can download your data by simply typing `dat clone .` or `dat clone dat.json`, and the url in the dat.json will be used to download the dat. To save space in your git repo, you probably want to add `.dat` to your `.gitignore` file in your git repository to make sure none of dat's metadata is included. Dat by default ignores your `.git` folder, so you don't have to worry about that. |