Github Authentication failed(身份验证失败)解决方法 | GitHub Desktop

时间:2024-04-05 18:26:50

修改了github的用户名,结果在GitHub Desktop 上push项目时出现了这个问题

Authentication failed. You may not have permission to access the repository or the repository may have been archived. Open options and verify that you’re signed in with an account that has permission to access this repository.

也就是说身份验证失败。您可能没有访问存储库的权限,或者存储库可能已被存档。打开选项并验证您是否注册了具有访问此存储库权限的帐户。

解决方法很简单,如果是GitHub Desktop,退出直接登录就好
Github Authentication failed(身份验证失败)解决方法 | GitHub Desktop

Github Authentication failed(身份验证失败)解决方法 | GitHub Desktop