Repository navigation
0.2.0
The plugin is now "GitHub Enterprise Sync", with the id github-enterprise-sync (it was obsidian-github-sync), in preparation for the Obsidian community directory. Obsidian treats a new id as a separate plugin, so existing installs need a one-time move. See below.
Fixes
- Remote changes could be missed for up to a minute. Obsidian's
requestUrlhonoured GitHub'smax-age=60, so a sync soon after the previous one could see a stale branch head and skip commits pushed from another device. API reads now sendCache-Control: no-cache. - A repository can no longer write into the vault's config folder when that folder has been renamed from
.obsidian.
Changes
- Note files are read and written through Obsidian's Vault API, so open editors update in place. Deletions follow your Files and links → Deleted files setting.
- The settings are searchable from Obsidian's settings search, and invalid host and repository values are flagged inline.
- Requires Obsidian 1.13.0 or later.
Moving an existing install
On each device:
- Run Sync now with the old plugin, so nothing local is left unpushed.
- Install 0.2.0. It lands in
.obsidian/plugins/github-enterprise-sync/. - Copy
data.jsonandlocal.jsonfrom.obsidian/plugins/obsidian-github-sync/into the new folder. This carries over your settings, your sign-in and the sync position. - Enable GitHub Enterprise Sync, disable the old plugin, then delete
.obsidian/plugins/obsidian-github-sync/.
If you can't copy files on a device (for example on iOS), do step 1, then sign in again and run Full resync in the new plugin.
If you use BRAT, add or update this repository there. BRAT installs it under the new id.