git clone:SSL: no alternative certificate subject name matches target host name

git clone 时的常见错误:

  1. fatal: unable to access 'https://ip_or_domain/xx/xx.git/': SSL: no alternative certificate subject name matches target host name 'ip_or_domain'

    解决办法: disable ssl verify
Bash 复制代码
git config --global http.sslVerify false
  1. remote: HTTP Basic: Access denied
    remote: You must use a personal access token with 'read_repository' or 'write_repository' scope for Git over HTTP.
    remote: You can generate one at https://ip_or_domain/profile/personal_access_tokens
    fatal: Authentication failed for 'https://ip_or_domain/xxx/xxx.git/'

    解决办法:生成access token
    按提示进入 https://ip_or_domain/profile/personal_access_tokens ip_or_domain 是你具体项目的地址

    git clone 时,需要输入密码的地方, 输入你生成的 access token
相关推荐
TechWayfarer1 天前
知乎/微博的IP属地显示为什么偶尔错误?用IP归属地查询平台自检工具3步验证
网络·python·网络协议·tcp/ip·网络安全
电化学仪器白超1 天前
小乌龟Git全程图形化操作指南:嵌入式本地版本管理与Gitee私有云备份实战
git·python·单片机·嵌入式硬件·物联网·gitee·自动化
SilentSamsara1 天前
HTTP/1.1 到 HTTP/3:每代协议解决了什么问题
网络·网络协议·tcp/ip·http·https
K3v1 天前
【git】删除本地以及远端已经合并到master的分支
大数据·git·elasticsearch
Flash.kkl1 天前
传输层UDP、TCP
网络协议·tcp/ip·udp
zmj3203241 天前
TCP/IP协议和以太网关系
网络·网络协议·tcp/ip
chao1898442 天前
Socket-TCP 简易端口开放检测工具
网络·网络协议·tcp/ip
云攀登者-望正茂2 天前
将 develop 分支拉取到特性分支时解决合并污染问题
git
不会写DN2 天前
TCP 长连接服务:登录注册认证体系实战指南
服务器·网络·网络协议·tcp/ip·计算机网络·面试
一只小鱼儿吖2 天前
基于OpenClaw的代理IP池自动化监控方案
网络协议·tcp/ip·自动化