5

我正在尝试使用 github自述文件中的说明安装 gitflow :wget -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | 须藤

它默默地失败了……回到提示。有任何想法吗?

4

1 回答 1

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

工作得很好;)

于 2010-12-01T10:17:03.917 回答