我无法使用 gatsby cli 克隆 gatsby-starter-default.git,因为它正在使用被我们的防火墙规则阻止的 'git' url
我也尝试将以下内容添加到 git config 但仍然没有乐趣
git config --global url."https://".insteadOf git://
下面是输出...
gatsby new gatsby-site
2017-10-24T20:57:34-0500 <log> init-starter.js:107 (clone) Cloning git repo git://github.com/gatsbyjs/gatsby-starter-default.git to gatsby-site...
2017-10-24T21:00:04-0500 <error> new.js:12 () Error: Git clone error: Cloning into 'gatsby-site'...
fatal: unable to access 'https://github.com/gatsbyjs/gatsby-starter-default.git/': Failed to connect to github.com port 443: Operation timed out
有没有办法强制 cli 使用 https:// 而不是 git://