兌現去我使用的依賴項關系(作為代理服務器) 連接到專用網絡之外的goproxy服務器(因為nexus不能直接從 獲取依賴項)。GitHubnexus.some.repo.com:4443/repository/go-nexus-proxy ?? gonexus.dev nexus.some.repo.com:4443/repository/go-proxy ?? proxy.golang.org ...GOPROXY="nexus.some.repo.com:4443/repository/go-proxy,nexus.some.repo.com:4443/repository/go-nexus-proxy"我使用.netrc文件連接到關系machine nexus.some.repo.com:4443 login SOME_LOGIN password SOME_PASS protocol https我可以用?git credential.helper代替嗎.netrc如果是????我該如何配置git credential.helper?
1 回答

UYOU
TA貢獻1878條經驗 獲得超4個贊
如果您已經在使用 netrc,您可以簡單地將憑證助手配置為使用 netrc
您可以下載并放入您的 PATHgit-credential-netrc.perl
接著:
git config --global credential.helper netrc
- 1 回答
- 0 關注
- 209 瀏覽
添加回答
舉報
0/150
提交
取消