From 5b0f0e94756882e141a73e1fc9828c93e352b3d3 Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 11 Aug 2017 19:31:17 -0400 Subject: update publish.md to reflect changes in clone command. (#83) --- docs/cookbook/publish.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3