其他分享
首页 > 其他分享> > Go 1.18已解决 fatal: could not read Username for 'https://github.com': terminal prompts disa

Go 1.18已解决 fatal: could not read Username for 'https://github.com': terminal prompts disa

作者:互联网

Environment

Go version 1.18.
Git version 2.32.0.
Github ssh credentials configured.

Supposed to work but not works.

Solution.

  1. export GOPRIVATE=github.com/{privateName}/*
  2. go get github.com/{privateName}/*

reference.

https://stackoverflow.com/a/65368910/7972695

标签:Username,github,1.18,disabled,version,https,go,com
来源: https://www.cnblogs.com/mrlonely2018/p/16247898.html