0
点赞
收藏
分享

微信扫一扫

git增加代理设置

人间四月天i 2024-01-08 阅读 9

问题

默认的git下载很慢,想加速

配置代理

[root@lab201 nfs-ganesha]# cat /root/.gitconfig
[user]
	email = zphj1987@gmail.com
	name = zphj1987
[credential]
	helper = store
[push]
	default = simple
[http]
        proxy = http://192.168.0.12:7890
[https]
        proxy = http://192.168.0.12:7890



举报

相关推荐

0 条评论