obsidian-git icon indicating copy to clipboard operation
obsidian-git copied to clipboard

[Bug]: When git fetch on iOS, Obsidian will reload.

Open mattwhatsup opened this issue 8 months ago • 4 comments

Describe the bug

I encountered an issue during use: on iOS, if synchronization hasn’t been performed for a while, the Obsidian interface will reload during the git fetch stage. To solve this problem, I have tried disabling most settings possible in the configuration, such as all other plugins and some file system options. In one of my vault, fetch started working normally after these changes, but in another repository, the Obsidian interface still reloads during fetch. This interrupts the pull/fetch process and prevents the repository from being updated.

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)


Steps to reproduce

Commit a bunch of files in the vault, preferably including some binary files (such as images or mp3s), and push them to the remote repository. Then, on iOS, perform a pull or fetch. At this point, the Obsidian interface on iOS will reload, interrupting the pull/fetch process.

Expected Behavior

No response

Addition context

No response

Operating system

iOS

Installation Method

None

Plugin version

2.32.1

mattwhatsup avatar Apr 26 '25 23:04 mattwhatsup

Facing the same issue. I tried deleting the repository and re-cloning it but that also fails. I am now stuck with no repository at all. If we could at least see error logs from the Git sync then we could maybe determine what causes the problem and solve it in our repos but we cannot even access that.

favna avatar May 19 '25 10:05 favna

Same issue, think in my case its because a lot of large files such images

As I see in the docs, isomorphic-git is not so performant and fast

Is it possible to use wasm-git or something like?

krutoo avatar Jun 07 '25 10:06 krutoo

Found a workaround:

  • pull repo by Wroking Copy app
  • go to Files app
  • copy repo content from Working Copy folder to Obsidian folder

But it resets git plugin configuration - I restores only commit author name and email

krutoo avatar Jun 07 '25 12:06 krutoo

Same issue, think in my case its because a lot of large files such images

As I see in the docs, isomorphic-git is not so performant and fast

Is it possible to use wasm-git or something like?

great point

thegeneralist01 avatar Jun 28 '25 12:06 thegeneralist01