Why does go module ssh custom private repo (non-github) config still request https fetch?
问题 I am using Go modules. In order to use module version, I cannot use local module. For example: replace locakpkg => ../localpkg v0.1.0 The above will fail because replacement local path cannot have version so far (go 1.15). Thus, to make the module version work, I decided to use a private ssh repo. I did search how to make private ssh repo work for two days. By following many online articles, I did git config --global url.user@private.com:.insteadOf https://private.com/ go env -w GOPRIVATE