<#19415 pants doesn't respect url directives in gl...
# github-notifications
c
#19415 pants doesn't respect url directives in global gitconfig Issue created by rdeusser Describe the bug This directive in my global gitconfig is not respected:
Copy code
[url "<ssh://git@<private-scm>/>"]
	insteadOf = https://<private-scm>/
Pants version Tried both 2.16.0 and 2.17.0rc1 OS macOS Ventura (13.4.1) Additional info Output from pants:
Copy code
ProcessExecutionFailure: Process 'Download Go module <private-scm/org/module>@v0.1.0.' failed with exit code 1.
stdout:
{
	"Path": "<private-scm/org/module>",
	"Version": "v0.1.0",
	"Error": "<private-scm/org/module>@v0.1.0: invalid version: git ls-remote -q origin in /private/var/folders/hr/5_qsxyej01b393wrfxq7hp2h0000gn/T/pants-sandbox-Hx6pgc/gopath/pkg/mod/cache/vcs/e1f2e5787ba54003b17b3bc74ebc50bf7e300f8cd2bc05d2ee20346a1f77d658: exit status 128:\n\tfatal: could not read Username for 'https://<private-scm>': terminal prompts disabled\nConfirm the import path was entered correctly.\nIf this is a private repository, see <https://golang.org/doc/faq#git_https> for additional information."
}
I've looked everywhere in the docs for
git
or
ssh
and I can't find anything that mentions this. I checked the issues and I found #18563, but that only mentioned global gitignore rules. pantsbuild/pants