问题描述:
从远程GIT
库 克隆
到本地,发生下面错误:
Git failed with a fatal error.
unable to access 'https://git.hniot.com/xxx/xxx.git/': The requested URL returned error: 403
原因分析:
【翻译】:
Git 因致命错误而失败。
无法访问 'https://git.hniot.com/xxx/xxx.git/': 请求的URL返回错误:403
【原因】:
没有权限
从远程库克隆该项目。
解决方案:
添加有权限
的GIT用户
【操作步骤】:
-
打开
控制面板
,---->用户账户
---->凭据管理器
或者直接搜索管理Windows凭证
-
在
普通凭证
---->添加普通凭证
---->git用户
-
重新克隆 GIT 库,克隆成功