今天git 推送和拉取都提示错误
remote: Repository not found.
fatal: repository 'https://github.com/xxx/xxx.git/' not found
解决方法:
$ git credential-manager uninstall
$ git credential-manager install
git 验证
git使用ssh密钥和https两种验证方式:
1,执行vi .git/config 通过url参数可以判断当前你用的是什么方式
2,使用ssh密钥需要生产密钥对,然后将公钥保存到git 远程服务器
公钥生成向导:http://github.com/guides/providing-your-ssh-key。
3,https需要每次输入密码,免密方式:
执行 git config --global credential.helper store ,他会在你下一次请求远程时候,让你最后一次输入密码,并把密码以明文的方式保存到.git-credential文件里面
本文介绍了解决Git中遇到的“Repository not found”错误的方法。包括卸载并重新安装凭据管理器,以及如何配置Git使用SSH密钥或HTTPS进行验证的具体步骤。
6854

被折叠的 条评论
为什么被折叠?



