git clone代码时失败的问题

问题描述:
在windows环境,使用小乌龟clone git私有仓库代码,提示错误:
Cloning into ‘project_name’…
remote: HTTP Basic: Access denied
fatal: Authentication failed fo *****

解决办法:打开CMD(以管理员身份运行)类型命令:
git config --system --unset credential.helper
然后输入Git远程服务器的新密码。

猜你喜欢

转载自blog.csdn.net/qq_21860077/article/details/83542393