相关疑难解决方法(0)

作为断电的一部分,密码身份验证被暂时禁用。请改用个人访问令牌

我使用用户名密码来推送我的代码,它已经工作了几个月,但突然间我无法做到并收到此错误:

Username for 'https://github.com': shreyas-jadhav
Password for 'https://shreyas-jadhav@github.com': 
remote: Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead.
remote: Please see https://github.blog/2020-07-30-token-authentication-requirements-for-api-and-git-operations/ for more information.
Run Code Online (Sandbox Code Playgroud)

请注意,该链接没有帮助。即使使用生成的令牌也无济于事。

主持人注意:这是GitHub 计划中且即将进行的永久性服务更改的一部分

git github token git-pull github-api

237
推荐指数
11
解决办法
10万
查看次数

Git 推送:缺少凭据或凭据无效。致命:“https://github.com/username/repo.git”的身份验证失败

我试图在新 MacBook 上进行第一次推送,但之后出现此错误git push(在我的旧 MacBook 上一切正常):

Missing or invalid credentials.
Error: connect ECONNREFUSED /var/folders/tx/53fffl0j51qb47mhnlf8zsdc0000gn/T/vscode-git-1d38026c7f.sock
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) {
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '/var/folders/tx/53fffl0j51qb47mhnlf8zsdc0000gn/T/vscode-git-1d38026c7f.sock'
}
Missing or invalid credentials.
Error: connect ECONNREFUSED /var/folders/tx/53fffl0j51qb47mhnlf8zsdc0000gn/T/vscode-git-1d38026c7f.sock
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1056:14) {
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '/var/folders/tx/53fffl0j51qb47mhnlf8zsdc0000gn/T/vscode-git-1d38026c7f.sock'
}
remote: No anonymous write access.
fatal: Authentication failed for 'https://github.com/username/repo.git/'
Run Code Online (Sandbox Code Playgroud)

知道为什么以及如何解决它吗?

git github visual-studio-code

18
推荐指数
4
解决办法
4万
查看次数

标签 统计

git ×2

github ×2

git-pull ×1

github-api ×1

token ×1

visual-studio-code ×1