我正在尝试使用github readme上的路线安装gitflow a la:wget -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | sudo sh
它正在默默地失败......只是回到提示。有什么想法吗?
答案 0 :(得分:9)
嘿,这是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
工作正常;)