Skip to content
Ricky
Chinese

搜尋

Searching… No matching pages. Matching pages are listed below. Search is unavailable. Please try again.

Go Modules 處理 Private GIT Repository 流程

  • 則言
  • 1 分鐘
  1. go env -w GOPRIVATE=github.com/appleboy
    1. go env -w GONOPROXY=github.com/appleboy
    2. go env -w GONOSUMDB=github.com/appleboy
  2. git config --global url."https://$USERNAME:$ACCESS_TOKEN@github.com".insteadOf "https://github.com"
    1. git config --global url.ssh://git@your.private.git/.insteadOf https://your.private.git/