用于Windows的Git Bash Client无法克隆github存储库

问题描述 投票:1回答:3

我在Windows 10 64位系统上使用git bash客户端但是当我尝试从git hub克隆或拉取或推送存储库时它显示错误:

remote: Repository not found.
fatal: repository 'https://github.com/adeptia/enigma.git/' not found

虽然存储库存在,但我也能够使用eclipse或github桌面克隆,拉取和推送这些存储库。

如果使用eclipse或github桌面克隆,我可以使用git bash客户端提交和检查存储库的状态。

git bash github
3个回答
2
投票

检查你是否有credential helper

git config credential.helper

如果您看到管理员,则可能会缓存错误的凭据。 在这种情况下,您需要删除它们。 见“Github remote permission denied”。

另一种可能性是存在2FA (2 factor Authentication),这将需要PTA(Personnal Access Token)来代替常规帐户密码。


0
投票

git clone命令是> git clone https://github.com/adeptia/enigma.git/

当命令不起作用时,您确认url准确

如果您确定网址存在或正确,我们需要更多信息来回答


-1
投票

我认为导致github服务器现在有问题,因为今天我无法访问github或我的github存储库。您可以稍后再试。

© www.soinside.com 2019 - 2024. All rights reserved.