fatal: could not read Username for 'https://gitee.com': terminal prompts disabled

解决方案:环境设置GIT_TERMINAL_PROMPT=1

export GIT_TERMINAL_PROMPT=1
go get xxx
# 然后再输入账号密码
posted @ 2021-12-07 13:41  aitansi  阅读(1416)  评论(0)    收藏  举报