git clone时报remote: Not Found fatal: repository

109 阅读1分钟

克隆一个新项目时,当前全局设置的账号和密码,没有该仓库的权限。 用git config user.name 'name'和git config user.password 'password'已经修改了当前的账号和密码,但还是报remote: Not Found fatal: repository。

假设原仓库地址为:http://xxxx.sss.git

需要执行: git clone http://name:password@xxxx.sss.git

image.png