foam-template/docs/features/自动同步.md
2021-12-08 23:05:22 +08:00

9 lines
401 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 自动同步
通过在 `.vscode/setting.json`
`"noteSync.enableNoteSync": false` 改为 `"noteSync.enableNoteSync": true` 启用自动同步。
每次保存文件将创建一条git记录并自动同步到云端仓库。
建议git checkout -b `develop` 创建分支使得自动保存到非master分支上。
同时在`pull requests`时建议`squash`,以便于合并多次提交。