Armen Abrahamyan2k downloadsReview and resolve sync conflicts from any cloud service.
A simple plugin for conflict resolution. No more hunting through your file system. Just open your file, hit Review, and Resolve.
Everything in this plugin relies on the conflict file pattern. Open Settings > Conflict Manager and enter the word your sync service puts into the name of a conflict copy (default: conflict). It is literal text, not a regular expression. Without a pattern nothing is detected.
Commands are available from the command palette (Ctrl/Cmd + P) and can be bound to a hotkey in Settings > Hotkeys.
| Command | What it does | Requires |
|---|---|---|
| Conflict manager: Open conflict hub | Opens the Conflict Hub panel with all unresolved conflicts in the vault. Same as the ribbon icon. | Conflict file pattern |
| Conflict manager: Review conflicts of the active file | Opens the diff viewer for the active file. If the file has no conflict copies, a notice is shown instead. | Conflict file pattern, an open file |
| Conflict manager: Merge conflicts in config files | Merges conflict copies of settings files after you confirm. | "Config conflicts" turned on |
Sync services like Dropbox, Google Drive or Syncthing can also create conflict copies of Obsidian's own settings in the .obsidian folder. The plugin can merge them for you.
Turn it on: Settings > Conflict Manager > Config conflicts. Then run the Merge conflicts in config files command or click the merge button in the Conflict Hub. The number on the button shows how many settings files have conflicts.
Checked files:
.obsidian/*.json (except workspace.json and workspace-mobile.json).obsidian/plugins/*/data.json.obsidian/themes/*/manifest.json and theme.css.obsidian/snippets/*.cssHow files are merged (the same way Obsidian Sync does it):
community-plugins.json: the newest version is kept.Nothing changes until you confirm: you see the list of files and choose which ones to merge. Old versions go to trash. The previous original is named <name>.old there.
After merging, reload Obsidian so plugins pick up the new settings.
[!WARNING] Settings files can contain private data like tokens. If the system trash is not available, old versions go to the vault's
.trashfolder, which your sync service or Git may upload. You don't need this with Obsidian Sync: it never creates conflict copies of settings.
Go to Settings > Editor > Convert pasted HTML to Markdown and toggle it off.
manifest.json, package.json, package-lock.json and versions.json.git commit -m "chore: prepare version <current_version>"
git push origin main
git tag -a <current_version> -m "<current_version>"
git push origin <current_version>
If you have any issues/suggestions, please open an issue on the repository. If you'd like to contribute to the code, please fork the repository and submit a pull request.