Installing git-flow on Ubuntu 10.10 fails silently

2019-06-21 05:42发布

I'm trying to install gitflow using the directions on the github readme a la : wget -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | sudo sh

And it's failing silently...just back to the prompt. Any ideas?

1条回答
唯我独甜
2楼-- · 2019-06-21 06:19

Hey, it is a problem with github certificate and 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'.

just override wget checks

wget --no-check-certificate -q -O - https://github.com/nvie/gitflow/raw/develop/contrib/gitflow-installer.sh | sudo sh

works just fine ;)

查看更多
登录 后发表回答