错误如下:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
解决方案:环境设置GIT_TERMINAL_PROMPT=1
export GIT_TERMINAL_PROMPT=1
可以再~/.bashrc下加入环境变量,后续可正常使用。无需再配置。
错误如下:
fatal: could not read Username for 'https://github.com': terminal prompts disabled
解决方案:环境设置GIT_TERMINAL_PROMPT=1
export GIT_TERMINAL_PROMPT=1
可以再~/.bashrc下加入环境变量,后续可正常使用。无需再配置。