首页 > 解决方案 > 私有 github 存储库身份验证问题

问题描述

我正在使用我的工作 Windows 10 电脑。我们有一个私有的 github 存储库。99% 的 repo 身份验证失败(无论是拉/推等)。

PS C:\Users\my_account> git pull
Logon failed, use ctrl+c to cancel basic credential prompt.
Username for 'https://github.com': git_handle
Password for 'https://git_handle@github.com':
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/private.git/'

我尝试了很多东西,例如

奇怪的是,它偶尔会起作用,但大多数时候不起作用。有没有办法调试(获取更多日志或获取身份验证失败原因的最低详细信息)?

标签: gitauthenticationgithub

解决方案


推荐阅读