I wonder why is it hard to make it? Like, why doesn’t git work in mobile at the first place?
To anyone trying to combine the iCloud Vault with a github repo:
I encountered the same Problem as other people in this chat, namely that iCloud seems to (temporarily?) append " 2" to the File Name (but keeping the File Extension e.g. “.md”)
Since you cannot exempt the “.git” repo from iCloud Sync, this even destroys the remote refs so GIT throws Errors.
While you can fix individual renames, I now encountered a mass-rename which renders this solution unusable.
I have also tried the git-plugin, but that frequently hang and stopped to work when I added several thousand files.
The next thing I will try is the Working Copy iOs App.
Does anyone have a better idea to make the GIT work on iPhone?
Thanks
You really shouldn’t mix syncing services. Use only one. Working Copy will work fine for Git, as described in the guide in this thread.
What are your experiences with the git plugin? With me, it frequently hang and after I added ca. 9000 Files it seems that pulling never stops on my IPhone.
The Obsidian app stops responding and the Phone kills it.
This thread is not about the Git plugin; to report issues for that plugin, it’s best to go to its GitHub repository.
The guide I was referencing doesn’t particularly concern Obsidian Git. I don’t use it, either.
True, but what do you guys use on Desktop? It would be great to have something super simple also on desktop like working copy on mobile.
Is it compatible with Obsidian Git? Asked because manual pushing/pulling is annoying.
You mean, you want to use working copy on iOS and obsidian git on desktop? Since both are using git, it should work.
I mean working copy and obsidian git on the same IOS device. Theoretically, the working copy can provide the .git files, and the obsidian git can do the autopush. You can use obsidian git on an android if you have the .git files even if you don’t have git installed, but it’s pretty buggy. So I wonder whether you can do the same thing on IOS.
Hi,
I am also trying to get a working-copy-downloaded git repo to sync with git-for-obsidian, and it seems to not work because of the nature of the .git folder generated by working copy (if I use an ssh or https protocol to clone the repo with working copy, different errors occur). More details here - let’s see what happens!
Consider cloning your repo with protocol https instead of git/ssh in WC (Obsidian Git cannot use SSH) and if it is still not working, maybe try installing an earlier version of Obsidian Git.
Hi, I have a question about how to do synchronizing on Iphone automatically. Now I can write the notes on the Iphone and do commit and push manually by using obsidian git and working copy. Is there a way to do the autopush and autopull?
Setup Folder Sync does not exist anymore!!!
RIP git sync.
I mean, you can always do it manually on desktop computers, but it will always be problematic in iOS. Apple walls off applications from each others data which makes life difficult.
This works:
for small repos. For large repos, it times out and fails to sync. Working copy has the same issue.
a-shell has the additional negative of being manual command line solution for syncing.
A-Shell and Working Copy both work with libgit2, a smaller version of git, which latter is not allowed by Apple.
I operate with fairly large repos (2GB complete with the git packages) and I tend to see issues when the git packages accumulate. Then I start a new repo, clone again and will be okay for a few months without getting delta and memory errors. I hardly ever use WC, if only for rolling back stuff I don’t want to be changed.
I acquired a used tablet recently, jailbroke it and have proper git, but the downside is that the tablet is equipped with an older chip, so, yeah…
Now I got a new laptop and it actually works on Win11 as well as on Linux and my tablet days seem over. But git I wouldn’t ever give up.
It is there. Press on the repository and then the name of the repo to the right with the down arrows (carrot) next to it. Then you can see the “link repository to” and select directory.
Courtesy of Reddit