← All answers

How do you fix merge conflicts in a shared content vault with obsidian-git?

Often asked as Merge conflicts in our shared content vault with obsidian-git

To fix merge conflicts in a shared vault with obsidian-git, open each conflicted note, use the plugin's in-editor buttons to keep your version, theirs or both, mark it resolved and commit. To get fewer of them, pull before writing and keep people out of the same files. Obsidian Sync or Covault merge for you, and Inbind, which opens the same vault, handles the git side, conflicts included.

Why do merge conflicts keep happening?

Merge conflicts happen when two people change the same lines of the same file before either of them pulls the other's change. In a content vault, that's usually the shared pages everyone touches (the voice guide, a content calendar, an index page), or a draft two people edit on the same day. Three things make it more frequent:

  • Scheduled sync. Obsidian Git commits and pushes on a timer, so the longer the interval, the more both copies drift before they meet.
  • AI agents editing many files. When Claude Code updates every page that mentions a renamed feature, it touches files your teammate may be editing too.
  • Mobile. The plugin's own page calls Git on mobile "highly unstable" (Obsidian Git), and a phone that syncs late is a common source of conflicts.

How to fix it inside Obsidian

  1. Find the conflicted files. Open the Source Control view; it lists conflicted files and how many conflict blocks remain.
  2. Resolve in the editor. Each conflict is highlighted in Live Preview, with buttons to keep yours, theirs or both. If you set git's merge.conflictStyle to diff3, you can also see and keep the common ancestor.
  3. Read the result. "Keep both" is the safe default for prose, but it often leaves two versions of the same paragraph; tidy it before you finish.
  4. Mark resolved and commit. Mark the file as resolved in Source Control, then commit to finish the merge.

Then reduce how often it happens:

  • Pull on startup. Turn on auto-pull when Obsidian opens, and pull before a long editing session.
  • Sync more often. A shorter auto-sync interval means smaller differences when copies meet.
  • Split ownership. Give each person a folder for drafts and scratch notes, and append to shared notes rather than rewriting the same paragraph.
  • Commit before the agent runs. Before asking Claude Code for a vault-wide change, pull, then commit the result straight away.

When the fix stops working

The fix stops working when one of the people in the vault isn't comfortable with git. "Keep ours or theirs" only makes sense if you know which is which, and a teammate who meets a conflict alone tends to pick one at random or stop syncing. It also gets harder as AI does more of the editing, because agent changes are large and frequent, and resolving them by hand turns into a daily chore.

What to use instead

Option How conflicts are handled Who it suits
Obsidian Sync shared vault Markdown changes merge automatically, or you choose to get a conflict file to merge yourself (Obsidian Help) Teams that want to drop git; each person needs a Sync subscription
Covault (Obsidian plugin) An LLM merges conflicting edits; uncertain merges open a three-pane review Teams standardised on Obsidian with a GitHub organization
Inbind Opens the same vault as plain markdown and syncs it through GitHub, handling merge conflicts for you; AI edits are reviewed in the formatted page before they're applied Teams writing with AI who don't want anyone resolving git conflicts by hand

Why we didn't build commit-on-save

In spring 2026, we designed a sync for Inbind that committed and pushed every time you saved a file and pulled every minute. We kept it switched off, and writing down what it would do made it clear why. If two people pushed to the same branch, even within the same minute, the next pull would fail as diverged and syncing would stop until someone fixed it outside the app. And one commit per save would fill the history with entries like "Update notes.md" that nobody could review.

That taught us that conflicts in a shared vault are mostly a design problem, not a user error. Fewer, meaningful syncs make conflicts rarer, and when they do happen, resolving them is a job the tool should take on, because the people most likely to hit one are the least likely to know git. Inbind now handles the git side of sharing, conflicts included.

The short version

Merge conflicts in a shared obsidian-git vault come from two people editing the same lines before pulling. Resolve them in the editor with keep-ours, keep-theirs or keep-both, then pull on startup, sync often and give each person their own files. If someone on the team doesn't know git, use a tool that merges for you, such as Obsidian Sync, Covault, or Inbind, which opens the same vault and syncs it through GitHub with conflicts handled for you.

Sources