随笔分类 -  Git

摘要:Git遇到SSL证书问题 问题现象 git clone/push时,出现:server certificate verification failed. CAfile: none CRLfile: none 解决方案 先要了解一下Git配置中和SSL有关的几个关键属性: http.sslVerify 阅读全文
posted @ 2025-01-04 09:28 3的4次方 阅读(1663) 评论(0) 推荐(0)
摘要:配置Github免密提交 配置git使用的username和email,该信息将会在git提交记录中显示 git config --global user.name "Your username" git config --global user.email "Your email@example. 阅读全文
posted @ 2024-02-02 19:07 3的4次方 阅读(89) 评论(0) 推荐(0)
摘要:git报错——鉴权失败 错误信息 fatal: 'https://github.com/owner_name/repo_name.git/' 鉴权失败 解决方案 鉴权失败的可能原因之一是访问token过期。 1、生成token 通过在github账号的setting -> Developer set 阅读全文
posted @ 2023-02-14 15:29 3的4次方 阅读(611) 评论(0) 推荐(0)
摘要:git报错——GnuTLS recv error (-110): The TLS connection was non-properly terminated 解决方案 临时办法 # 取消代理即可恢复正常 git config --global --unset http.https://github 阅读全文
posted @ 2023-02-14 15:21 3的4次方 阅读(1830) 评论(0) 推荐(0)