Mac os 系统下设置git hub代理的小问题
不知道为什么,在自己的Mac os 设置git hub代理不行,使用的方法如下
1
2
3
4
5
6
7
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global --unset http.proxy
git config --global --unset https.proxy
怎么设置都不生效,显示代理错误,最后使用下面的方法解决了。
1
2
3
4
vi ~/.gitconfig 添加下面的代码
[http "https://github.com"]
proxy = socks5://127.0.0.1:1086
💘 相关文章
- mac os 的電池充電做的真心不錯
- mac os 优秀的系统监控软件-System Monitor试用
- mac os 命令行安装软件的方法
- 在Mac Os 系统搭建AdGuardHome
- mac os brew "shell-init: error retrieving current directory"的解决方法
- mac os install soft command
- Mac os youtube-dl zsh: no matches found: solution
- Mac Os 怎么样实现开机自动恢复所有的程序
- Mac Os 系統下php mysql 集成开发环境工具mdserver
- 用过Mac Os 后你就再也不会用其它的操作系统了