微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

【GitHub】You do not have write access to xxxx

checking your permissions

check your SSH access
$ ssh -T git@github.com
> git@github.com: Permission denied (publickey)

  1. git config --global --list // 验证邮箱与GitHub的注册邮箱是否一致
  2. git config --global user.name xxxx // 设置全局用户名
  3. git config --global user.email xxx // 设置邮箱
  4. ssh-keygen -t rsa -C '这里换上你的邮箱' // 一路回车,存储.ssh文件
  5. github - settings - SSH and GPG keys - New SSH key
  6. id_rsa.hub 的内容复制到 key 中
  7. ssh -T git@github.com // 测试通不通
  8. ssh-agent -s // 不通的话,执行8,9两步
  9. ssh-add ~/.ssh/id_rsa

参考资料 & 鸣谢
https://blog.csdn.net/qq_43768946/article/details/90411154

Check that the repository really exists

参考资料 & 鸣谢
Github - no write access to team's repo in organisation

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐