Mac中去carthage update出错:
brancepengdeMacBook-Pro:keyoutong minglong$ carthage update *** Fetching SwiftHTTPStatusCodes A shell task (/usr/bin/env git fetch –prune –quiet https://github.com/rhodgkins/SwiftHTTPStatusCodes.git refs/tags/*:refs/tags/* +refs/heads/*:refs/heads/*) failed with exit code 128: fatal: unable to access ‘https://github.com/rhodgkins/SwiftHTTPStatusCodes.git/’: Failed to connect to github.com port 443: Operation timed out |
之前以为是没法翻墙导致的
后来去用ss翻墙后,问题依旧。
对应的git版本是
2.7.2
我自己这里没问题,git版本是:
➜ pic git –version git version 2.8.4 (Apple Git-73) |
搜:
Failed to connect to github.com port 443: Operation timed out
参考:
mac 升级git版本
macos – Mac OS X Lion 下 Git 如何升级? – SegmentFault
升级Mac OS X上的git – 1993奇葩 – 博客频道 – CSDN.NET
通过Homebrew安装Git
brew install git
git failed to connect to github port 443 timed out
failed to connect to github port 443 timed out
git config –global http.proxy 127.0.0.1:1080 |
无效。
Error: git-2.7.2 already installed To install this version, first `brew unlink git` |
To install this version, first brew unlink git
Cannot install git through homebrew on yosemite – Stack Overflow
Problem installing git on yosemite · Issue #37150 · Homebrew/legacy-homebrew · GitHub
brew install git Error: git-2.7.2 already installed
brew 升级 git
homebrew – How to properly update git on mac? – Ask Different
HOW TO: 升级Mac OS X上的GIT – Jeeker
HOW TO: 升级Mac OS X上的GIT – Jeeker
Git Vulnerability on Mac OS X and Windows · RayHightower.com请教如何升级 git 版本 · Ruby China
【后记】
后来解决了:
【已解决】git clone出错:Failed to connect to github.com port 443 Operation timed out
转载请注明:在路上 » 【已解决】carthage update出错:Failed to connect to github.com port 443: Operation timed out