首页
找靠谱产品
找解决方案
找靠谱公司
找案例
找对的人
专家智库
悬赏任务
SAAS
ToB门户
了解全球最新的ToB事件
论坛
潜水/灌水快乐,沉淀知识,认识更多同行。
ToB圈子
加入IT圈,遇到更多同好之人。
微博
Follow
记录
Doing
博客
Blog
文库
业界最专业的IT文库,上传资料也可以赚钱
下载
分享
Share
排行榜
Ranklist
相册
Album
应用中心
qidao123.com ToB IT社区-企服评测·应用市场
»
论坛
›
开源技术
›
开源技术
›
办理一下git clone失败的题目
返回列表
发新帖
办理一下git clone失败的题目
[复制链接]
发表于 2026-1-23 18:49:41
|
显示全部楼层
|
阅读模式
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要
登录
才可以下载或查看,没有账号?
立即注册
×
1).不开梯子,我们用https克隆
git clone https://github.com
报错:
Failed to connect to github.com port 443 after 2091 ms: Couldn't connect to server
办理办法:
开梯子,然后# 留意修改成本身的IP和端标语
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
然后报错
remote: Repository not found.
fatal: repository 'https://github.co not found
办理办法
git clone http://token名字:token的值@github.com/用户名/堆栈.git
然后我这里突然翻墙了访问不了github了,包罗huggingface等等网站
然后我改了下clash和电脑本机署理的端标语,就可以了
然后你要记得修改
git config --global http.proxy http://127.0.0.1:7891
git config --global https.proxy http://127.0.0.1:7891
然后我git clone http://github-private:
[email protected]
报错remote: Repository not found.
fatal: Authentication failed for 'http://github.com/hlx11/ss1.git/'
然后我又用了我同事的token试了一下,仍然不可,我真的裂开
2)ssh实验
那重新来一遍吧
重新设置key
ssh-keygen -t ed25519 -C "
[email protected]
"
然后复制id_ed25519.pub内里的东西
然后我们git clone
[email protected]
:lx1/sun01.git
报错ssh: connect to host github.com port 22: Connection refused
fatal: Could not read from remote repository.
然后我们输入ssh -T
[email protected]
发现Bad owner or permissions on C:\\Users\\lzt/.ssh/config
然后颠末删除config之后
报错ssh: connect to host github.com port 22: Connection refused
3)突然再次实验https,这次将http改为了https
git clone https://github-private:github_pat_11A6PKOQI0I69C55fd2wwRodMdPn6xgrGWUwT34n0WrBj6B225NCIAvuPBuLMu@github.com/lxhlx11/supe
报错remote: Write access to repository not granted.
fatal: unable to access 'https://github.com/lxhl01/': The requested URL returned error: 403
还是不可,但是我感觉快乐成了
于是我用我同事(创建者的token)试了一下,终于乐成了
远程分支创建后,本地与之关联
git checkout -b cxh origin/cxh
然后就可以快乐的提交
代码
啦
以是末了还是用https办理的
huggingface clone同理,用token名:token值的办法乐成clone
回复
使用道具
举报
返回列表
浏览过的版块
SQL-Server
数据仓库与分析
DevOps与敏捷开发
物联网
云原生
干翻全岛蛙蛙
+ 我要发帖
登录后关闭弹窗
登录参与点评抽奖 加入IT实名职场社区
去登录
微信订阅号
微信服务号
微信客服(加群)
H5
小程序
快速回复
返回顶部
返回列表