Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot authenticate over Https? #44

Open
benze opened this issue Nov 25, 2024 · 1 comment
Open

Cannot authenticate over Https? #44

benze opened this issue Nov 25, 2024 · 1 comment

Comments

@benze
Copy link

benze commented Nov 25, 2024

I am trying to configure Logseq to work with git over Https on MacOS, but I get the following error:

image

If I manually execute the .git/hooks/pre-commit or post-commit scripts, the git authentication succeeds. I suspect that I need to store my Git personal access token somewhere for the Logseq process to have access to it, but am not sure where/how.

Are https repos supported? Or only via ssh?

I am running Git 2.40.0 and have my git config set to the
credential.helper=osxkeychain

@XenotropicDev
Copy link

I have it working over https. Just make sure that you have configured your git client's gpg settings:

Here's my config for a windows machine

user.name=githubUsername
user.email=youremail@gmail.com
user.signingkey=ABCDEFAAAAAAAABBBBBBCCCCCCDDDDABC12345
commit.gpgsign=true
gpg.program=C:/Program Files/Git/usr/bin/gpg.exe
tag.gpgsign=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants