-->

Installing git-flow on Ubuntu 10.10 fails silently

2019-06-21 06:11发布

问题:

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:

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 ;)