Authentication failed. Some common reasons include:
- You are not logged in to your account: see File > Options.
- You may need to log out and log back in to refresh your token.
- You do not have permission to access this repository.
- The repository is archived on GitHub. Check the repository settings to confirm you are still permitted to push commits.
- If you use SSH authentication, check that your key is added to the ssh-agent and associated with your account.
- If you use SSH authentication, ensure the host key verification passes for your repository hosting service.
- If you used username / password authentication, you might need to use a Personal Access Token instead of your account password. Check the documentation of your repository hosting service.
GitHub Desktop突然无法拉取代码,但是本地git bash命令行提交、更新正常,根据上面的报错提示逐条检查都不行,重新生成密钥配置`ssh-agent`也不行,去
官网
查看ssh连接教程全部方法都试一遍也不行。
最后研究GitHub Desktop的设置,把推荐的系统openSSh选项去掉,能正常拉取代码了
版权声明:本文为weixin_36931308原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。