简体   繁体   English

致命:拒绝 git 凭据后,“https://github.com/myrepo/frontend/”的身份验证失败

[英]fatal: Authentication failed for 'https://github.com/myrepo/frontend/' After denying git credentials

I was about to push something to my git remote on github.我正要向 github 上的 git 遥控器推送一些东西。 VSCode usually asks me in a popup to do something like allow access to my git. VSCode 通常会在弹出窗口中询问我是否允许访问我的 git。 I normally put in my computer password and proceed.我通常输入我的计算机密码并继续。 But this time I pressed Deny .但是这次我按下了拒绝

Right after, when I tried again to push to the remote I started getting:之后,当我再次尝试推送到遥控器时,我开始得到:

Missing or invalid credentials.
Error: connect ECONNREFUSED /var/folders/q6/npwl_7xj4wg91lg06f8pnnfh0000gn/T/vscode-git-320456bc0a.sock
    at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '/var/folders/q6/npwl_7xj4wg91lg06f8pnnfh0000gn/T/vscode-git-320456bc0a.sock'
}
Missing or invalid credentials.
Error: connect ECONNREFUSED /var/folders/q6/npwl_7xj4wg91lg06f8pnnfh0000gn/T/vscode-git-320456bc0a.sock
    at PipeConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
  errno: -61,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '/var/folders/q6/npwl_7xj4wg91lg06f8pnnfh0000gn/T/vscode-git-320456bc0a.sock'
}
remote: No anonymous write access.
fatal: Authentication failed for 'https://github.com/myrepo/frontend/'

Quitting and restarting VSC fixed the issue.退出并重新启动 VSC 解决了该问题。 It prompted vscode to authorize through github in the browser.提示vscode在浏览器中通过github授权。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Git 推送:缺少凭据或凭据无效。 致命:“https://github.com/username/repo.git”的身份验证失败 - Git push: Missing or invalid credentials. fatal: Authentication failed for 'https://github.com/username/repo.git' 致命:无法访问“ https://github.com/MyName/MyRepo.git/”:请求的URL返回错误:403 - fatal: unable to access 'https://github.com/MyName/MyRepo.git/': The requested URL returned error: 403 未能将一些引用推到'https://github.com/myname/myrepo' - failed to push some refs to 'https://github.com/myname/myrepo' 无法克隆https://github.com/doctrine/DoctrineFixturesBundle.git - Failed to clone https://github.com/doctrine/DoctrineFixturesBundle.git Git,致命:无法访问“https://github.com/path/to/repo.git”:gnutls_handshake() 失败:pull 函数出错 - Git, fatal: unable to access 'https://github.com/path/to/repo.git': gnutls_handshake() failed: Error in the pull function Windows git bash: git clone https://github.com/... results with fatal: working tree... already exists - Windows git bash: git clone https://github.com/... results with fatal: working tree ... already exists 推送失败:无法访问“ https://github.com/abc/xyz.git/”:无法解析主机:github.com - Push failed: unable to access 'https://github.com/abc/xyz.git/': Could not resolve host: github.com “无法访问'https://github.com/flutter/flutter.git/':无法连接到github.com端口8080:” - "Unable to access 'https://github.com/flutter/flutter.git/': Failed to connect to github.com port 8080:" Windows10 git clone https://github.com/ktbyers/netmiko” 致命错误 - Windows10 git clone https://github.com/ktbyers/netmiko&#8221 Fatal error 是什么导致“致命:未找到存储库'https://github.com/bemyhre/my_web.git/'”错误 - What is causing “fatal: repository 'https://github.com/bemyhre/my_web.git/' not found” error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM