git远程地址替换

1. 检查本地git remote路径是否为v9域名

git remote -v

2. 替换remote路径:
SSH: git remote set-url   origin user@hostname/xxx

HTTPS: git remote set-url origin https://hostname/xxx



3. 如果有特殊原因不能修改域名,设置不对SSL证书进行验证(不推荐)

git config http.sslVerify false

4. 如果想要全局生效可以通过以下命令设置

git config --global http.sslVerify false
原文地址:https://www.cnblogs.com/igoodful/p/13707179.html