在Ubuntu上安装Git-Flow 10.10默默失败
-
29-09-2019 - |
题
我正在尝试使用github上的说明安装gitflow 读书我 la:wget -q -o- https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | sudo sh
而且它默默失败了……只是回到提示。有任何想法吗?
解决方案
嘿,这是GitHub证书和WGET的问题
ERROR: certificate common name `*.github.com' doesn't match requested host name `github.com'.
To connect to github.com insecurely, use `--no-check-certificate'.
只是覆盖WGET检查
wget --no-check-certificate -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | sudo sh
工作正常;)
不隶属于 StackOverflow