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
相关推荐
Tiny21422 分钟前
多人协同开发时Git使用命令
git
WebGirl1 小时前
代码Revert后再次Merge会丢失的问题
git
qq_171538856 小时前
TCP/IP协议精解:IP协议——互联网世界的邮政编码系统
网络·网络协议·tcp/ip
小皮侠6 小时前
nginx的使用
java·运维·服务器·前端·git·nginx·github
兮动人6 小时前
获取终端外网IP地址
java·网络·网络协议·tcp/ip·获取终端外网ip地址
HalukiSan7 小时前
如何提交PR
git·gitlab·github
海外空间恒创科技8 小时前
一台香港原生ip站群服务器多少钱?
服务器·网络协议·tcp/ip
DemonAvenger9 小时前
TCP连接池设计与实现:提升Go应用网络性能
网络协议·架构·go
游戏开发爱好者815 小时前
iOS重构期调试实战:架构升级中的性能与数据保障策略
websocket·网络协议·tcp/ip·http·网络安全·https·udp
爱莉希雅&&&18 小时前
shell编程之awk命令详解
linux·服务器·git