this post was submitted on 26 May 2024
15 points (85.7% liked)

ObsidianMD

4102 readers
17 users here now

Unofficial Lemmy community for https://obsidian.md

founded 1 year ago
MODERATORS
 

I've tried both, Obsidian Git and Termux (I need to try the last one without the git plugin in my mobile vault) but no matter what I always got merging problems (That I don't know how to fix). Does anyone know how to fix this? Does Termux support merging?

all 7 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 5 months ago (2 children)

I never solved this issue. I just tried to solve all merges through the cli on a laptop or desktop. Eventually, I switched to syncthing, and I haven't looked back.

[–] Rigal 1 points 5 months ago

I have done the same and it works perfectly.

[–] [email protected] 5 points 5 months ago (1 children)

It's not answer you want but I'll say it anyway: I use FolderSync, it works without any problem.

[–] [email protected] 3 points 5 months ago

+1 for FolderSync. Very reliable and has many options.

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago)

When I started with Obsidian I had the idea that I would use Git to sync between my devices. I ended up just paying for their sync service. There's no good way (that I could find) for cloning a git repo onto an android phone in a way that another app can then use the repo and easily resolve merges.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

Syncthing

It's a FOSS, real time, continuous file sync

From personal experience, it works flawlessly between Linux and Android. And it supports Linux, Windows, MacOS, iOS, and Android.

Pairing two devices is seamless, although setting up folder sync can be a bit of a pain

Tip:
If you already have two copies of a folder on separate devices (A and B), you only need to add one copy into syncthing (device A). Then you can share it to the other devices (B), and map it to an [existing or new] folder on B

If you add the folder to A and B separately, then try to share it, you get duplicate "Share" folders, and it gets a bit confusing

The "Folder ID" should be the same across devices