我正在使用几个存储库,但最近我只是在内部工作,一切都很棒.
今天我不得不承诺并将代码推送到其他代码中,但我遇到了一些麻烦.
$ git push appharbor master
error: The requested URL returned error: 403 while accessing https://gavekortet@appharbor.com/mitivo.git/info/refs?service=git-receive-pack
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)
我无能为力,这将再次带来密码输入.
如何重置系统上的凭据,以便Git会询问我该存储库的密码?
我试过了:
git config --global --unset core.askpass为了取消设置密码
git config credential.helper 'cache --timeout=1'为了避免凭证缓存......
似乎没有任何作用; 有没有人有更好的主意?
当我尝试使用时,我的控制台上出现此错误git pull:
远程:2021 年 8 月 13 日移除了对密码身份验证的支持。请改用个人访问令牌。远程:请参阅https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/了解更多信息。致命:无法访问“...”:请求的 URL 返回错误:403
这很奇怪,因为我两周前只是按照文档在 GitHub 上创建了一个令牌,该令牌将于 2021 年 10 月 26 日星期二到期。为什么今天删除了它?
今天,GitHub 提供了一种推送、克隆或拉取存储库的新方法,让我大吃一惊
当我尝试推送我的项目时,我收到此错误消息:
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.
fatal: unable to access 'https://github.com/barimehdi77/Philosophers.git/': The requested URL returned error: 403
Run Code Online (Sandbox Code Playgroud)
经过多次搜索,我发现 GitHub 添加了一个新的安全更新,名为Personal access tokens but who can I use it?
我想在 Github 上分享我的 Android Studio 项目,但是当我点击分享时,它似乎
http://127.0.0.1:63342/api/github/oauth/authorization_code?code=14c943d3435fe66a54f7
它要求输入用户名和密码。我尝试使用我的 Github 用户名和密码登录但失败。
*刚刚开始编程2周
我有一个似乎与GitHub使用的SSH密钥格式有关的问题.我使用Git Bash生成一个新的SSH密钥
$ ssh-keygen -t rsa -C "youremail@youremail.com"
Run Code Online (Sandbox Code Playgroud)
然后,我将密钥复制到我的GitHub帐户页面设置中的SSH部分.但是,它附带的问题通知如下
Key is invalid. It must begin with 'ssh-ed25519', 'ssh-rsa', 'ssh-dss', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', or 'ecdsa-sha2-nistp521'. Check that you're copying the public half of the key
Run Code Online (Sandbox Code Playgroud)
之后,我编辑了我的SSH密钥,最后是ssh-rsa和我的电子邮件地址.但问题仍然存在.
谁能告诉解决方案呢?
谢谢!
我在拉入 sourcetree 时遇到了这个错误,昨天它工作得很好,但突然出现了这个错误。
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
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.
fatal: unable to access 'https://github.com/London-Foster/frontend.git/': The requested URL returned error: 403
Run Code Online (Sandbox Code Playgroud)
我尝试使用个人访问令牌并在源树上使用它,但仍然无法登录。
我正在尝试将本地更改推送到我的远程存储库,但由于 403 - 权限被拒绝而失败。
remote: Permission to rmanivannan/speedometer-jquery-plugin.git denied to mcttvni.
fatal: unable to access 'https://github.com/rmanivannan/
speedometer-jquery-plugin.git/': The requested URL returned error: 403
Run Code Online (Sandbox Code Playgroud) 直到最近我才能够从我的终端推送到“myrepo”,没有任何问题。现在,我得到了这个 -
Missing or invalid credentials.
Error: connect ECONNREFUSED /run/user/4714/vscode-git-b650b12c34.sock
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '/run/user/4714/vscode-git-b650b12c34.sock'
}
Missing or invalid credentials.
Error: connect ECONNREFUSED /run/user/4714/vscode-git-b650b12c34.sock
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '/run/user/4714/vscode-git-b650b12c34.sock'
}
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/me/myrepo'
Run Code Online (Sandbox Code Playgroud)
“myrepo”是一个私人仓库,我是一个合作者。存储库存在并且我的 gitconfig 设置正确。这个错误是突然出现的。
我使用的是集成 VS Code 终端,但当我使用桌面终端时也会出现同样的错误。
我已经尝试了这里的所有修复,包括设置git.terminalAuthentication: false。然而正如我所提到的,我在 VS Code 之外也遇到了这个错误。
谁能帮我解决这个问题。谢谢!
github ×7
git ×6
android ×1
credentials ×1
econnrefused ×1
git-pull ×1
github-api ×1
ssh ×1
ssh-keys ×1
token ×1
windows ×1