haydenull / logseq-plugin-git

A git plugin for logseq
MIT License
120 stars 24 forks source link

Plugin does not use local .gitconfig files #44

Open kjy5 opened 1 year ago

kjy5 commented 1 year ago

I use local .gitconfig files to manage permissions within local/specific folders. In my terminal, I can easily use git pull and git push with no permission issues. However, when I use these buttons in the plugin, I get the following error

Git pull --rebase failed
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I can fix this by putting my .gitconfig items into the .git/config, but I prefer to utilize the .gitconfig file from the higher scope.

Thank you!