git增加代理设置

问题

默认的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
posted @ 2024-01-05 21:26  武汉-磨渣  阅读(12)  评论(0)    收藏  举报