2

I am able to pull/push to GitHub via GitKraken on my Windows 10 machine but when using VS Code on the same machine I get permission errors.

Any thoughts?

git remote --verbose
git.stage 1
git.stage.scmResources 1
git add -A -- e:\code\sportsman_cal\public_html\js\nowMe.js
git status -z -u
git symbolic-ref --short HEAD
git rev-parse QuickUpdate1
git rev-parse --symbolic-full-name QuickUpdate1@{u}
git rev-list --left-right QuickUpdate1...refs/remotes/origin/QuickUpdate1
git for-each-ref --format %(refname) %(objectname) --sort -committerdate
git remote --verbose
git show :public_html/js/nowMe.js
git status -z -u
git symbolic-ref --short HEAD
git rev-parse QuickUpdate1
git rev-parse --symbolic-full-name QuickUpdate1@{u}
git rev-list --left-right QuickUpdate1...refs/remotes/origin/QuickUpdate1
git for-each-ref --format %(refname) %(objectname) --sort -committerdate
git remote --verbose
git commit --quiet --allow-empty-message --file -
git status -z -u
git symbolic-ref --short HEAD
git rev-parse QuickUpdate1
git rev-parse --symbolic-full-name QuickUpdate1@{u}
git rev-list --left-right QuickUpdate1...refs/remotes/origin/QuickUpdate1
git for-each-ref --format %(refname) %(objectname) --sort -committerdate
git remote --verbose
git config --get commit.template
git show :public_html/js/nowMe.js
git pull --tags origin QuickUpdate1
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.
chonerman
  • 117
  • 11
  • 1
    Yes, some actual error messages and additional information would be lovely. – fredrik Oct 21 '19 at 19:52
  • Updated with errors from VS Code. GitKraken pushes without any errors. – chonerman Oct 21 '19 at 23:05
  • They probably have different home folders, which means that they would have different SSH keys for authentication. But that is just a guess since the only relevant information in the question is the error message. – fredrik Oct 22 '19 at 06:32
  • 1
    If you're on Windows and using ssh, see https://stackoverflow.com/a/72029153/308451 for a detailed explanation of what's going on, which may help you – JBSnorro May 11 '22 at 11:27
  • The link that JBSnorro commented helped me (https://stackoverflow.com/a/72029153/9714002), even tho the exact symptoms weren't the same. I left a comment on that answer to describe my issue too – Douglas Young Jun 14 '22 at 23:40

0 Answers0