解决:fatal: could not read Passwor

2024-03-04  本文已影响0人  Rami

问题

fatal: could not read Password for 'https://root@gitlab.test.cn': terminal prompts disabled

这个错误通常发生在 Git 操作需要验证用户身份时,但终端提示被禁用的情况下。终端提示被禁用可能是因为您正在使用一个非交互式的终端会话,或者由于其他原因导致无法接收终端输入。

解决

export GIT_TERMINAL_PROMPT=1 
上一篇 下一篇

猜你喜欢

热点阅读