【问题标题】:Git error: remote: Permission to username/repo.git denied to username. fatal: unable to access 'github link': The requested URL returned error: 403Git 错误:远程:用户名/repo.git 的权限被用户名拒绝。致命:无法访问“github 链接”:请求的 URL 返回错误:403
【发布时间】:2022-11-27 06:20:46
【问题描述】:

我在尝试推送到我的 git 存储库时收到此错误消息。我试图取消所有用户的设置,然后重新设置。尝试了 SSH 和互联网上几乎所有可能的解决方案,但没有一个对我有用。任何人都收到此消息并可以帮助我吗?如果你回答我真的很感激,从那时起我就无法使用 github。

【问题讨论】:

    标签: git authentication github push


    【解决方案1】:

    在 Github 上导航到设置/开发人员设置/个人访问令牌

    选择 Fine Grained Tokens,然后选择 Generate New Token。

    在权限下,您可以授予对“内容”的读取和写入访问权限,以允许 git 推送到存储库。

    【讨论】:

      猜你喜欢
      • 2022-12-05
      • 2013-08-17
      • 1970-01-01
      • 2019-11-05
      • 2023-02-06
      • 1970-01-01
      • 2015-05-06
      • 2011-07-17
      • 2022-07-17
      相关资源
      最近更新 更多