zl程序教程

您现在的位置是:首页 >  工具

当前栏目

git拉取GitLab工程报错Repository not found

Git 报错 not 工程 found gitlab Repository 拉取
2023-09-27 14:24:29 时间
# git clone http://xxx/jiqing/frog.git
正克隆到 'frog'...
fatal: repository 'http://xxx/jiqing/frog.git/' not found

原因:因为以前使用过其他帐号配置信息都保存了,然后帐号密码默认用以前的导致拉取没有权限
解决办法:

git clone http://username:password@xxx/jiqing/frog.git
#git clone http://username:password@xxx/jiqing/frog.git
正克隆到 'frog'...
remote: Counting objects: 2720, done.
remote: Compressing objects: 100% (2210/2210), done.
remote: Total 2720 (delta 402), reused 2713 (delta 401)
接收对象中: 100% (2720/2720), 22.59 MiB | 1.05 MiB/s, done.
处理 delta 中: 100% (402/402), done.