denolehov / obsidian-git

Backup your Obsidian.md vault with git
MIT License
6.14k stars 250 forks source link

[Feature request]: Use submodule to implement shared knowledge base #661

Closed yxs-for closed 4 months ago

yxs-for commented 6 months ago

I hope to create a knowledge base shared by the team through steps similar to the following

  1. Create a git repository as obsidian's vault
  2. Add other people's git repositories as submodules to view their shared documents
  3. Add your own public git repository as a submodule and as a shared notebook
  4. Add your own private git repository as a submodule and as a private notebook
  5. Configure other people's submodules to be forced to pull . Configure your own submodules to require push

The above steps may not actually be implemented, but I hope you can consider implementing this function. Thank you very much.

Vinzent03 commented 4 months ago

Submodules are already supported on desktop, just enable the option in the settings and refer to the documentation