mac 使用homebrew安装使用git
2020-09-28 本文已影响0人
DOB_8199
1. 进入官网:https://git-scm.com/download/mac,按步骤下载。
期间遇到的问题:
1)安装Homebrew时报错:(7) Failed to connect to raw.githubusercontent.com port 443: Connection refused(此时我有翻墙)
看了很多的文章,大多数是stackoverflow上的办法,感觉很繁琐
其实只要将你的DNS设置为114.114.114.114或者8.8.8.8就ok了

然后按步骤进行安装,输入密码回车就👌了