亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

git credential.helper 而不是 .netrc 來獲取依賴項

git credential.helper 而不是 .netrc 來獲取依賴項

Go
當年話下 2022-07-11 15:33:38
兌現去我使用的依賴項關系(作為代理服務器) 連接到專用網絡之外的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


查看完整回答
反對 回復 2022-07-11
  • 1 回答
  • 0 關注
  • 209 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號