mac下brew update 报错

提示

fatal: could not read Username for 'https://github.com': 终端什么不能显示之类的

 

解决办法就是brew untap 然后把第三方仓库全部给清除了一个个brew untap掉

这个和什么github ssl https  rsa keygen什么的没鸟关系

还有就是改mac下brew源的时候。。。看下你是zsh 还是bash 。。。我以为自己是bash,结果我看了下是zsh 怪不得一直无法更新。。。

阿里云的源有教程的  名字叫homebrew不是brew,搜下 就行了。。。

 

还有就是实在不行 用shadowsxxk-ng+proxifier代理ruby git之类的命令 让他去git慢慢更新吧。。。

posted @ 2019-03-29 15:43  xsser's  阅读(1955)  评论(0编辑  收藏  举报