From b8c4a2bd9a494520e2d1df5f2c7aff4ec352ec25 Mon Sep 17 00:00:00 2001 From: fyears <1142836+fyears@users.noreply.github.com> Date: Tue, 5 Apr 2022 00:48:01 +0800 Subject: [PATCH] explictly state the reason to create .gitignore --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7b92d29..90f0389 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,9 @@ This is yet another unofficial sync plugin for Obsidian. If you like it or find - **No Conflict resolution. No content-diff-and-patch algorithm.** All files and folders are compared using their local and remote "last modified time" and those with later "last modified time" wins. - **Cloud services cost you money.** Always be aware of the costs and pricing. Specifically, all the operations, including but not limited to downloading, uploading, listing all files, calling any api, storage sizes, may or may not cost you money. - **Some limitations from the browser environment.** More technical details are [in the doc](./docs/browser_env.md). +- **You should protect your `data.json` file.** The file contains sensitive information. + - It's strongly advised **NOT** to share your `data.json` file to anyone. + - It's usually **NOT** a good idea to check the file into version control. By default, the plugin tries to create a `.gitignore` file inside the plugin directory if it doesn't exist, for ignoring `data.json` in the `git` version control. If you know exactly what it means and want to remove the setting, please modify the `.gitignore` file or set it to be empty. ## Questions, Suggestions, Or Bugs