我正在尝试使用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

工作正常;)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top