Loading

fatal: could not read Username for ‘https://gitee.com‘: No such file or directory

在拉取gitee代码时,直接复制项目的Http地址,如

https://gitee.com/ruoshui/wzb.git

git clone,克隆失败,提示:

 fatal: could not read Username for ‘https://gitee.com‘: No such file or directory

需要将gitee账号的用户名密码带到clone地址中,如

https://username:password@gitee.com/ruoshui/wzb.git

其中,username为gitee账号的用户名,password为密码。

posted @ 2024-09-14 11:21  王召波  阅读(6)  评论(0编辑  收藏  举报