發布到遠程存儲庫時遇到錯誤: could not read Username for 'https://github.com': terminal prompts disabled並且要求輸入賬號密碼就算輸入正確也無法正常發布
問題1.terminal prompts disabled
解決方法:配置環境變量 GIT_TERMINAL_PROMPT=1
問題2.需要輸入賬號密碼就算正確仍無法發布或者拉取
解決方法:
1)設置git保存http賬號密碼
git config --global credential.helper store
打開控制台程序輸入
2)手動拉取git工程,並輸入賬號密碼
如:
成功克隆完成就沒問題了!!!