问题、端末プロンプトは無効
エラーを取りに行きます terminal prompts disabled
go get xxx.com/xxx/xxx
# cd .; git clone https://xxx.com/xxx/xxx.git
Cloning into 'xxx'...
fatal: could not read Username for 'https://xxx.com: terminal prompts disabled
package xxx: exit status 128
ソリューション
オプション1
一時的な解決策:手動でユーザー名とパスワードを入力してください
env GIT_TERMINAL_PROMPT=1 go get xxx.com/xxx/xxx
オプションII
長期的な解決策:設定されているキーのgitを使います
GitHubのにたとえば、
git config --global --add url."[email protected]:".insteadOf "https://github.com/"