From 31b73c0926069b3d19cc524fa8e721774d14f91b Mon Sep 17 00:00:00 2001 From: "ithink.chan" Date: Tue, 31 Dec 2019 09:21:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=85=B3=E9=97=AD=20SSL=20?= =?UTF-8?q?=E8=AE=A4=E8=AF=81=E6=96=B9=E6=B3=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ithink.chan --- Software/Applications/Git/Git_使用说明.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Software/Applications/Git/Git_使用说明.md b/Software/Applications/Git/Git_使用说明.md index 9047bb8..9ac3798 100644 --- a/Software/Applications/Git/Git_使用说明.md +++ b/Software/Applications/Git/Git_使用说明.md @@ -14,6 +14,10 @@ git config --global user.name git config --global user.email +git 访问某些 https 连接会出现 SSL 认证错误,此时可通过全局配置关闭 SSL 认证: + + git config --global http.sslVerify "false" + ### Git 与 SSH 如果想访问远程 Git 服务器,则最好通过 SSH 方式。这需要先生成 RSA 密钥,然后将公钥部署到远程服务器上即可。生成 RSA 密钥可使用 OpenSSH,命令如下(Windows 下该命令位于 /\/usr/bin/ 下,可使用 Git Bash 直接访问):