Open dougpagani opened 1 year ago
From a totally different workflow (new vault, keep it empty, clone from existing, declare a .obsidian, request deletion), i get different (also broken) behavior:
Reference screenshots:
i validated with another ios git provider to know it wasn't simply Working Copy (this one is PolyGit):
yet another piece of information for you: i'm able to fix the repo for WorkingCopy/PolyGit by just opening it up in ish shell and having it rebuild the index. Every time i open the vault with the git-obsidian plugin open, it bungles it again: (don't need to push for it to break it; pulls/commits from git-obsidian do it and even in rebuilding, the push still fails)
Alright well I give-up for now, i'll just use an appevent automation to trigger WorkingCopy and disable this plugin on mobile for now. Would be nice to get this to work since i was in the middle of setting up sync for a non-technical user when I encountered these bugs, for whom WC isn't really an option.
@dougpagani what tool do you use for accessing git on android?
I was having issues getting a repo to work with obsidian-git following the regular mobile setup instructions I got it to work on an iphone with ios 16.3, using itunes to drop the existing repo in place I was able to get it working following the steps below, without using any other apps to manage git Note: I am using a self-hosted git service called gogs, so authentication is handled exclusively with a username/password, I have not used other authentication methods
Close obsidian and ensure the repo is uploaded and up to date in the remote location
After that git-obsidian processes all of my requests the same way it does on desktop
@dougpagani what tool do you use for accessing git on android?
I don't know, I'm on ios for my phone. Not like you asked, but I was using a-shell for a partial (more than enough though) implementation of git. I would imagine it's even easier for android since it's linux-based, and you could just run normal git natively without any emulations, or like this repo uses, a javascript isomorphism.
@bruzhmelev
I ended up just disabling the plugin and implementing my own thing for mobile.
@dougpagani I am not facing problem on iOS 16 though
Describe the bug
Can't initialize on mobile; I'm able to push just fine from WorkingCopy but not git-obsidian.
Relevant errors (if available)
No response
Steps to reproduce
Neither of these 3 have worked for me:
to empty GitHub repo from instantiated local vault
from instantiated github to empty obsidian vault
to non-existing github repo from instantiated local vault
(I've also tried 2 more of these via GitLab, to no avail)
Expected Behavior
I'm not sure if this ever worked for ios, so to be honest, i have no idea what to expect. Is this not supported yet? In the docs it seems to imply it is. Is there a known-working version I can roll back to?
Addition context
No response
Operating system
iOS
Plugin version
2.15.0