MrY*_*Yui 6 eclipse git github egit
几周前,我最近推送了我的 GitHub 存储库。我从 GitHub 得到一个主要信息,即 GitHub 即将退出常规授权,并准备用另一种授权方法替换它。
所以今天我向我的 GitHub 存储库推送了一个新更新并收到了消息:
git-receive-pack not permitted
Run Code Online (Sandbox Code Playgroud)
这就引出了两个问题:
自2021年8月13日,GitHub上不支持通过认证HTTPS与您的GitHub账号密码出于安全原因了。相反,在 Eclipse 中,当推送到 GitHub 存储库或从私有存储库获取时,您将收到git-upload-pack not permitted on 'https://github.com...'
错误消息。
作为解决方案,请使用
GitHub repo token
origin
或您在克隆存储库时选择的名称)并选择配置推送....ssh
用户主目录的子文件夹<name>.pub
config
文件的文本编辑器中,按如下方式更改远程 URL:url = https://github.com/<username>/<repo>.git
Run Code Online (Sandbox Code Playgroud)url = git@github.com:<username>/<repo>.git
Run Code Online (Sandbox Code Playgroud)也可以看看:
归档时间: |
|
查看次数: |
536 次 |
最近记录: |