Bài viết phổ biến của tác giả
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
Git 抛出错误
"C:\Program Files (x86)\Git\bin\git.exe" push -u --recurse-submodules=check -
-progress "origin" refs/heads/dev_civaplugin:refs/heads/dev_civaplugin
remote: Password authentication is not available for Git operations.
remote: You must use a personal access token or SSH key.
remote: See https://github.build.ge.com/settings/tokens or
https://github.build.ge.com/settings/ssh
fatal: unable to access
'https://github.build.ge.com/108012572/NextGenUT.git/': The requested URL
returned error: 403
Xong
Press Enter or Esc to close console...
我使用 git 扩展成功地克隆了远程存储库并且也能够创建新分支但是当尝试推送我的更改时它抛出上述错误。
我使用工具创建了公钥和私钥> putty> 生成或导入 key 我的电脑在用户中没有 > .SSH 文件夹在 git hub 中,我还使用设置 > 开发人员设置 > 个人访问 token 创建了个人访问 token 不清楚问题是什么,任何输入都是很大的帮助
câu trả lời hay nhất
ssh-keygen -t rsa
ssh-rsa
开头的公钥New SSH key
并粘贴您之前复制的私有(private) key ,然后创建它ssh-add
(e.g., ssh-add id_rsa)
Để ý:默认情况下,它只有您的 id_rsa
主键;因此,您需要在其中添加您的自定义私钥。
关于Git 推送不工作错误 "You must use a personal access token or SSH key",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51634406/
Tôi là một lập trình viên xuất sắc, rất giỏi!