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
相关推荐
ArabySide4 分钟前
【计算机网络】HTTP协议核心知识梳理
网络协议·计算机网络·http
川石课堂软件测试7 小时前
CSS中常用的几种定位。
开发语言·css·python·网络协议·http·html·pytest
222you7 小时前
git的命令
git
Coolbike8 小时前
Git工作流
git
虎头金猫9 小时前
我的远程开发革命:从环境配置噩梦到一键共享的蜕变
网络·python·网络协议·tcp/ip·beautifulsoup·负载均衡·pandas
渡我白衣10 小时前
网络层IP协议详解:互联网的灵魂所在
网络协议·tcp/ip·信号处理
zx_zx_12310 小时前
传输层协议 UDP
网络·网络协议·udp
~央千澈~12 小时前
实战针对本地项目git如何移除旧仓库关联并且添加关联新仓库-优雅草卓伊凡
git
JH307319 小时前
git常用命令大全
git
卓码软件测评1 天前
第三方软件质量检测:RTSP协议和HLS协议哪个更好用来做视频站?
网络·网络协议·http·音视频·web