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

Cannot clone a repo on iPadOS

Open faralahy-l opened this issue 2 years ago • 3 comments

Describe the bug

After setting up obsidian git and trying to clone a github repo, nothing happens after the message "initializing clone" is displayed in the corner. Initializing a new repo, adding the github repo as remote and pulling also fails after the message "initializing fetch" is displayed. Manually downloading the files from github as an archive, extracting and opening the archive as a vault is not a solution either, because we can see with the command "List changed files" that every file is both marked as untracked and marked as deleted. I do not know if this is linked to the size of my github repo (>100MB)

Relevant errors (if available)

I cannot see errors in the terminal as i haven't found a way to access it on iPadOS.

Steps to reproduce

Initialize a repo with Obsidian git Clone remote repo (failed after "initializing clone")

Initialize a repo with Obsidian git Add a remote repo Pull (failed after "initializing fetch")

Download a repo from github Decompress the archive and put the resulting folder into the vault Open the folder as a vault (every file is marked as untracked AND deleted) committing and pushing does work but the files marked as untracked and deleted are deleted in github.

Expected Behavior

No response

Addition context

No response

Operating system

iOS

Plugin version

2.14.0

faralahy-l avatar Jan 02 '23 18:01 faralahy-l

I was also running into cloning issues on iOS.

In the meantime, I've cloned the repo using iSH. After cloning, I've been able to push/pull with the Obsidian Git plugin as expected.

jonwomack avatar Jan 06 '23 15:01 jonwomack

can confirm that this plugin just doesn't work for ios/ipados. Funnily enough WorkingCopy can push using the configured credentials -- just not this plugin.

Looks like a bad update got pushed & published because I'm getting null-pointer style errors coming through :/

dougpagani avatar Jan 10 '23 14:01 dougpagani

Faced a somewhat similar issue. Every time I try to set the remote address for the repo, there is the “InvalidRefNameError” (put the https link as the remote)

rogaldh avatar Mar 11 '23 11:03 rogaldh