当我使用Azure DevOps Pipeline时,收到此错误:
"fatal:could not read username for ‘http:xx.xx.xx.xx:’ No such device or address, git fetch failed with exit code 128".
何时:
git clone http://xx.xx.x.x/x/xx/
(Azure DevOps存储库);和它显示“fatal:Authentication failed for ...”
。我尝试使用PAT和
SSH,但是他们都失败了。端口443和43是隔离的
注意:是http,不是https
答案 0 :(得分:0)
生成一个新的SSH密钥。 返回您的Git帐户并删除旧的SSH密钥,然后添加新生成的SSH密钥。 为了获得最佳实践,请始终设置SSH密钥密码,而不是将其保留为空。