Open utterances-bot opened 4 years ago
使用该方法后:公有库会使用 https://goproxy.io/ 代理,私有库(gitee上)将不使用代理,直接从仓库拉取代码
https://www.nongtianlang.com/post/00001-go-mod-gitee-privte/
.git_config类似
[url "ssh://git@gitee.com/aaaa/bbbb.git"] insteadOf = https://gitee.com/aaaa/bbbb.git [url "ssh://git@gitee.com/aaaa/cccc.git"] insteadOf = https://gitee.com/aaaa/cccc.git
go mod使用gitee.com私有库 - 农天狼的大巴
使用该方法后:公有库会使用 https://goproxy.io/ 代理,私有库(gitee上)将不使用代理,直接从仓库拉取代码
https://www.nongtianlang.com/post/00001-go-mod-gitee-privte/