obsidian-git
obsidian-git copied to clipboard
[Bug]: Unable to specify Github account for push
I'm using the Debian version of Obsidian. I installed the plugin from Obsidian's built in plugin manager. I can't specify anywhere which GitHub account I want to push to.
To clear some vocabulary. You don't push to a GitHub account, but to a remote git repository, which can be on GitHub. One GitHub account can have many git repositories. There's an edit remotes command. In addition, it should ask you for a remote, when you try to pull/push.
I also didnt get where I can set git account settings (using Windows) in plugin or in my git 3rd party app?
The plugin doesn't provide an interface to configure authentication. Please do some research yourself about authentication. Either ssh
or https
. You probably want to use https
and cache the personal access token.
If there's no way to configure your plugin then it's useless.
On Monday, Apr 4, 2022, 8:09 AM, wrote:
The plugin doesn't provide an interface to configure authentication. Please do some research yourself about authentication. Either
ssh
orhttps
. You probably want to usehttps
and cache the personal access token. -- Reply to this email directly or view it on GitHub: https://github.com/denolehov/obsidian-git/issues/214#issuecomment-1087474804 You are receiving this because you authored the thread. Message ID:
@aknight2015 Authentication is different from system to system, which I haven't understood completely, and I don't know how to handle securely. Git is not just a sync method, but designed to be used by, e.g. developers. I'm aware that configuring authentication is an issue currently. But saying this plugin is useless is simply wrong.
I'm getting this error: Base path does not exist
In the plugin Options > Advanced > Custom base path (Git repository path) I have put the Git repository name:
billpetro/obsidian-backup
(The full path would be https://github.com/billpetro/obsidian-backup)
What have I missed?
@billpetro That's not supposed to be set there. It's when the git root is below your vault root. As the title "Advanced" tells, it's rarely used. Please leave that field empty.
There's a "Username on your git server" option on mobile now. Could that be brought over to desktop? Would that solve your problem?
Yeah, you're right. Just frustrating. I shouldn't have taken it out on you. I apologize.
On Monday, Apr 4, 2022, 4:22 PM, wrote:
@aknight2015 Authentication is different from system to system, which I haven't understood completely, and I don't know how to handle securely. Git is not just a sync method, but designed to be used by, e.g. developers. I'm aware that configuring authentication is an issue currently. But saying this plugin is useless is simply wrong. -- Reply to this email directly or view it on GitHub: https://github.com/denolehov/obsidian-git/issues/214#issuecomment-1087978230 You are receiving this because you were mentioned. Message ID:
It doesn't. It doesn't prompt me for anything.
On Saturday, Apr 2, 2022, 6:21 AM, wrote:
To clear some vocabulary. You don't push to a GitHub account, but to a remote git repository, which can be on GitHub. One GitHub account can have many git repositories. There's an edit remotes command. In addition, it should ask you for a remote, when you try to pull/push. -- Reply to this email directly or view it on GitHub: https://github.com/denolehov/obsidian-git/issues/214#issuecomment-1086609482 You are receiving this because you authored the thread. Message ID:
@aknight2015 On mobile or desktop? It should only on mobile.