问题
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.
来源:https://stackoverflow.com/questions/58489695/git-push-working-gitkraken-failing-due-to-permissions-in-vs-code